IBM Support

PH66219: INTERNAL ERROR WHILE COMPILING PROGRAM: FAILED ASSERTION ON ./SEQUENTIALSTORESIMPLIFIER.CPP:3942

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler's internal state is incorrect while performing Loop
    Inversion. Loop Inversion uses integer loop control variables
    (4-byte long); however, some loops are controlled by smaller
    induction variables.
    
    
    When inverting a loop, the compiler assigns the "final value"
    to the induction variable, which may involve converting an
    integer data type to the shorter data type used in the program.
    This conversion was not consistently implemented,
    resulting in inconsistencies in the program's intermediate
    representation.
    

Local fix

  • Extend the loop variable to a minimum length of 5 digits /
    Change the data item to be PIC S9(5)/9(5) or larger
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 compiling      *
    *                 programs in which a data item used in a      *
    *                 loop constructed with a GO TO is             *
    *                 BINARY/COMP/COMP-4 and PIC S9(4)/9(4) or     *
    *                 smaller4                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compiler abends with message            *
    *                      MSGIGYCB7104-U Internal error while     *
    *                      compiling program XXXX. Failed          *
    *                      assertion on                            *
    *                      ./SequentialStoreSimplifier.cpp:3942.   *
    *                      Compilation terminated.                 *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    The compiler's internal state is incorrect when optimizing
    loops with BINARY data items.
    

Problem conclusion

  • The compiler was fixed to update its internal state correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH66219

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    640

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-04-21

  • Closed date

    2025-06-17

  • Last modified date

    2025-07-02

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

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

Modules/Macros

  • IGY8CICS 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 IGYCJGEN 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  IGYQSPLT IGYZQEN6 IGYZQENU IGYZQJP6
    IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R640 PSY UO03676

       UP25/06/28 P F506

  • R641 PSY UO03677

       UP25/06/28 P F506

  • R642 PSY UO03678

       UP25/06/28 P F506

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":"BU048","label":"IBM Software"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"640","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
02 July 2025