A fix is available
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.5 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
PH69114
Reported component name
ENT COBOL FOR Z
Reported component ID
5655EC600
Reported release
650
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-11-24
Closed date
2025-11-25
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
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 IGYCJBLD 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
R650 PSY UO05951
UP25/12/03 P F512
R651 PSY UO05952
UP25/12/03 P F512
R652 PSY UO05953
UP25/12/03 P F512
R65H PSY UO05954
UP25/12/03 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":"6.5","Line of Business":{"code":"LOB70","label":"Z TPS"}}]
Document Information
Modified date:
02 January 2026