IBM Support

PH68878: Compiler or runtime errors when UTF-8 literal used with non-UTF-8 data item in compare/MOVE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compiler abort when comparing a UTF-8 literal with a non-UTF-8
    data item.
    
    Incorrect results when moving UTF-8 ALL literal to non-UTF-8
    receiver.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 compiling and  *
    *                 running a COBOL program that contains either *
    *                 of the following: 1. a comparison of a UTF-8 *
    *                 literal with a non-UTF-8 data item; or 2. a  *
    *                 move of a UTF-8 ALL literal into a non-UTF-8 *
    *                 data item.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1. For comparisons, compiler abort      *
    *                      with message:                           *
    *                                                              *
    *                      IGYPG5306-U An internal compiler error  *
    *                      occurred.  Condition (F) failed at      *
    *                      IGYPCXU-32770-IGYZCNUL: expected        *
    *                      alphanum                                *
    *                                                              *
    *                      2. For ALL literal moves, incorrect     *
    *                      runtime results.  The ALL literal       *
    *                      value is not repeated in the            *
    *                      receiver.                               *
    ****************************************************************
    * RECOMMENDATION: Apply the IBM-provided PTF.                  *
    ****************************************************************
    Incorrect code was being generated for comparisons of UTF-8
    literals with non-UTF-8 data items. For the move of a UTF-8 ALL
    literal to a non-UTF-8 data item, the ALL status of the literal
    was inadvertently being lost during the conversion of the
    literal to the target codepage during the move.
    

Problem conclusion

  • The compiler was updated to ensure UTF-8 literals can be
    correctly used with non-UTF-8 data items in both MOVE and
    compare operations.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH68878

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

  • 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