IBM Support

PH69124: JSON GENERATE ABORTS WITH 0C7

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the object of the JSON GENERATE INDICATING phrase is a
    packed-decimal group data item with a null value, an 0C7 abend
    may occur
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 who are        *
    *                 compiling programs that contain JSON         *
    *                 GENERATE statements with the INDICATING      *
    *                 phrase, where the sending operand of the     *
    *                 JSON GENERATE statement contains subordinate *
    *                 numeric elementary items.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users are encountering a program        *
    *                      runtime ABEND 0C7 during execution of   *
    *                      the JSON GENERATE statement when their  *
    *                      numeric (ZONED, PACKED-DECIMAL, etc)    *
    *                      items (subordinate to the sending       *
    *                      operand) contain invalid data, but are  *
    *                      using the INDICATING phrase to generate *
    *                      JSON null values instead of the values  *
    *                      of the numeric items. An example of     *
    *                      invalid data is LOW-VALUES,             *
    *                      HIGH-VALUES, or SPACES, when contained  *
    *                      within a ZONED or PACKED-DECIMAL        *
    *                      numeric item.                           *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    The JSON GENERATE statement resulted in compiler generated code
    that did not correctly handle numeric items that had null
    indicators.
    

Problem conclusion

  • The compiler was fixed to avoid the aforementioned runtime ABEND
    0C7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH69124

  • 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-11-24

  • Closed date

    2025-12-12

  • Last modified date

    2026-01-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 IGYCOPI
    IGYCOPT  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 UO06213

       UP25/12/18 P F512

  • R641 PSY UO06214

       UP25/12/18 P F512

  • R642 PSY UO06215

       UP25/12/18 P F512

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 January 2026