IBM Support

PH68475: After modification of reserved word table, IGYPS3335-S on JSON GENERATE phrase ENCODING FROM CODEPAGE use

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After commenting out the INFO FUNCTION-ID from Part II of the
    reserved word table to avoid messages for frequent use of
    FUNCTION-ID as data item, the JSON GENERATE phrase ENCODING
    FROM CODEPAGE generates the diagnostic
    
    IGYPS3335-S "CODEPAGE" was found as an "ENCODING" phrase
    operand, but it was not a valid encoding. The statement was
    discarded.
    

Local fix

  • Replace "ENCODING FROM CODEPAGE" with "ENCODING ccsid", where
    ccsid is the CODEPAGE compiler option specified ccsid.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 compiling      *
    *                 COBOL programs that contain the JSON         *
    *                 GENERATE statement with the ENCODING FROM    *
    *                 CODEPAGE phrase, with the WORD option in     *
    *                 effect and using an alternate reserved word  *
    *                 table from either IGY8RWRD or IGY8CICS from  *
    *                 the sample (SIGYSAMP) dataset.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compilation results in an unexpected    *
    *                      compile time error message similar to   *
    *                      the following:                          *
    *                                                              *
    *                      IGYPS3335-S "CODEPAGE" was found as an  *
    *                      "ENCODING" phrase operand, but it was   *
    *                      not a valid encoding. The statement was *
    *                      discarded.                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    The sample alternate reserved word table provided in IGY8RWRD
    and IGY8CICS in the SIGYSAMP dataset was not updated with the
    new CODEPAGE reserved-in-context keyword, which causes the
    compile time error message to occur when an alternate reserved
    word table is used.
    

Problem conclusion

  • The IGY8RWRD and IGY8CICS sample files were updated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH68475

  • 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-10-10

  • Closed date

    2025-10-27

  • Last modified date

    2025-11-30

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

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

    PH69114

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 IGYCOB2E
    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 UO05555

       UP25/11/06 P F511

  • R641 PSY UO05556

       UP25/11/06 P F511

  • R642 PSY UO05557

       UP25/11/06 P F511

  • R64H PSY UO05558

       UP25/11/06 P F511

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:
30 November 2025