IBM Support

PH62478: INCORRECT OUTPUT WHEN USING UTF-8 DATA ITEMS IN THE UNSTRING STATEMENT.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect output when using UTF-8 data items in the UNSTRING
    statement.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users compiling and running programs with    *
    *                 the Enterprise COBOL 6.4 compiler whose      *
    *                 programs include using UTF-8 items and       *
    *                 literals as senders, delimiters, and         *
    *                 receivers on the UNSTRING statement.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1. Users encounter the following        *
    *                      compiler error when using PIC U         *
    *                      BYTE-LENGTH UTF-8 items on the UNSTRING *
    *                      statement: IGYPG5201-U Internal         *
    *                      compiler error code "UTF8 opnd for      *
    *                      UNSTRING not fixed charlen" occurred.   *
    *                      2. Users encounter incorrect runtime    *
    *                      output on the UNSTRING statement when   *
    *                      using PIC U(n) UTF-8 items.             *
    ****************************************************************
    * RECOMMENDATION: Apply the IBM provided PTF, and recompile.   *
    ****************************************************************
    Various issues have been identified when using UTF-8 items on
    the UNSTRING statement, including: * Terminating RC=16 compiler
    error when using PIC U BYTE-LENGTH UTF-8 items on the UNSTRING
    statement * Incorrect output when UTF-8 sending and delimiter
    items contained multibyte, Unicode data. * Incorrect control
    flow to the ON OVERFLOW/NOT ON OVERFLOW paths * Incorrect COUNT
    result * Incorrect POINTER result
    

Problem conclusion

  • The compiler (APAR PH62478) and runtime (APAR PH62500 and
    PH62501) have been fixed to address the identified issues.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH62478

  • 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

    2024-07-26

  • Closed date

    2024-08-22

  • Last modified date

    2024-09-03

  • 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 IGYCJDMR 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 UI98140

       UP24/08/29 P F408

  • R641 PSY UI98141

       UP24/08/29 P F408

  • R642 PSY UI98142

       UP24/08/29 P F408

  • R64H PSY UI98143

       UP24/08/29 P F408

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:
03 September 2024