IBM Support

PH22127: THE COMPILER DOES NOT ISSUE MESSAGE MSGIGYCB7311-W FOR THE SENDER WHEN INITCHECK IS USED.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler must assume that the sender and receiver could
    overlap when moving data from another section into the linkage
    section, as the move could overwrite part of the sender. To
    avoid generating incorrect code, the compiler's internal state
    indicates that the sender may be written to when moving data to
    a linkage section receiver.
    
    The INITCHECK option looks at this internal state to determine
    which data items need to be checked (senders whose
    initialization state is uncertain) for each statement. As the
    internal state was indicating that the MOVE statement wrote to
    the sender, the sender was considered initialized, and so the
    compiler did not issue the message flagging the sender as
    uninitialized.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V6.1 compiling     *
    *                 programs with INITCHECK that move data from  *
    *                 the LOCAL-STORAGE or WORKING-STORAGE         *
    *                 sections to the LINKAGE SECTION with the     *
    *                 sender being uninitialized.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: The compiler does not issue message     *
    *                      MSGIGYCB7311-W for the sender.          *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    The compiler must assume that the sender and receiver could
    overlap when moving data from another section into the linkage
    section, as the move could overwrite part of the sender. To
    avoid generating incorrect code, the compiler's internal state
    indicates that the sender may be written to when moving data to
    a linkage section receiver.
    
    The INITCHECK option looks at this internal state to determine
    which data items need to be checked (senders whose
    initialization state is uncertain) for each statement. As the
    internal state was indicating that the MOVE statement wrote to
    the sender, the sender was considered initialized, and so the
    compiler did not issue the message flagging the sender as
    uninitialized.
    

Problem conclusion

  • For MOVEs to the linkage section, the compiler now updates its
    internal state after checking for uninitialized senders rather
    than before, causing the compiler to now issue message
    MSGIGYCB7311-W for uninitialized senders whose data is MOVEd to
    a linkage section receiver.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH22127

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-12

  • Closed date

    2020-02-13

  • Last modified date

    2020-03-02

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

    PH21380

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

Modules/Macros

  • IGY8RWTU IGYCCBE  IGYCCICS IGYCCSRV IGYCDGEN IGYCDIAG IGYCDMAP
    IGYCEN$0 IGYCEN$1 IGYCEN$2 IGYCEN$3 IGYCEN$4 IGYCEN$5 IGYCEN$8
    IGYCEN$D IGYCEN$R IGYCFGEN IGYCFREE IGYCINIT IGYCJA$0 IGYCJA$1
    IGYCJA$2 IGYCJA$3 IGYCJA$4 IGYCJA$5 IGYCJA$8 IGYCJA$D IGYCJA$R
    IGYCLIBH IGYCLIBO IGYCLIBR IGYCLSTR IGYCLVL0 IGYCLVL1 IGYCLVL2
    IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOSCN IGYCPGEN IGYCRCTL IGYCRDPR
    IGYCRDSC IGYCREAL IGYCRWT  IGYCSCAN IGYCSIMD IGYCUE$0 IGYCUE$1
    IGYCUE$2 IGYCUE$3 IGYCUE$4 IGYCUE$5 IGYCUE$8 IGYCUE$D IGYCUE$R
    IGYCXREF IGYDRV   IGYEQCWI IGYMSGE  IGYMSGK  IGYMSGT  IGYQCBE
    IGYZQDRV IGYZQENU IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R610 PSY UI67886

       UP20/02/22 P F002

  • R611 PSY UI67887

       UP20/02/25 P F002

  • R612 PSY UI67888

       UP20/02/25 P F002

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023