PK96269: Websphere Developer for zSeries V6.0.1: sysVar.TransactionID is not set as expected running generated COBOL programs

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Websphere Developer for zSeries V6.0.1:
    
    The sysVar.TransactionID is not set as expected running
    generated COBOL programs.
    
    An EGL program wants to use the TransactionID as part of the key
    for an error.  In the generated COBOL program the transactionID
    is assigned to a program variable:
    
          * 2 *> MY_TRANID_COMM.TRANSID = SysVar.transactionID ;
               MOVE EZESEGTR TO TRANSID IN MY_TRANID_COMM
    
    However, it was found that SysVar.transactionID is NULL which
    leads to the code "MOVE EIBTRNID TO EZESEGTR" never to be run so
    the program variable does not contain contain the current CICS
    transaction ID.
    
          IF EZESEGTR = LOW-VALUES
             MOVE EIBTRNID TO EZESEGTR
          END-IF
    
    EZESEGTR is the internal variable for the EGL variable name
    sysVar.TransactionID used in generated COBOL programs.  EZESEGTR
    is referred to below instead of sysVar.TransactionID.
    
    The problem is that in a called program EZESEGTR is set to
    SPACES and therefore the low-values check fails which in turn
    means the MOVE EIBTRNID to EZESEGTR is not executed.  This is
    the same behavior as VisualAge Generator.
    
    It was determined the generated COBOL should be changed to
    reflect the current value of EZESEGTR.   Therefore, in V6.0.1:
    
    - If the called program is the initial entry point for EGL,
      it should reflect the value of the current CICS transaction
      ID.
    - If the called program is not the initial entry point for EGL
      (a 3270 application or another EGL called program ahead of
      it), then the EZESEGTR will be whatever value it was upon
      entry to the called program.  This means if the parent
      main/called program sets EZESEGTR (sysvar.transactionID) to
      something other than the current tranaction ID, then that will
      be the value.
    - If the called program SETS the value of sysvar.transactionID,
      this value will not be effective/passed back to the
      parent/called program.
    

Local fix

  • A fixtest is available upon request from support.
    

Problem summary

  • See error description.
    

Problem conclusion

  • A fix is available from support.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96269

  • Reported component name

    WD/Z COBOLGEN Z

  • Reported component ID

    5724L4419

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-15

  • Closed date

    2011-01-13

  • Last modified date

    2011-01-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WD/Z COBOLGEN Z

  • Fixed component ID

    5724L4419

Applicable component levels

  • R601 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Developer for zSeries
EGL (Enterprise Generation Language)

Software version:

6.0.1

Reference #:

PK96269

Modified date:

2011-01-13

Translate my page

Machine Translation

Content navigation