IBM Support

PH23530: 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.3 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

    PH23530

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-20

  • Closed date

    2020-03-26

  • Last modified date

    2020-04-02

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

    PH21380

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

Modules/Macros

  • IGY8RWRD IGY8RWTU IGYCASMB IGYCCBE  IGYCCCRT 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 IGYCLIBR IGYCLSTR IGYCLVL0 IGYCLVL1
    IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOB2E 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  IGYQSPLT IGYZQEN6 IGYZQENU IGYZQJP6 IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R630 PSY UI68641

       UP20/04/01 P F003

  • R631 PSY UI68642

       UP20/04/01 P F003

  • R632 PSY UI68643

       UP20/04/01 P F003

  • R63H PSY UI68644

       UP20/04/01 P F003

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":"630","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023