IBM Support

PH39581: EXTRA BYTE AT END OF JSON OUTPUT WITH JSON GENERATE NAME IS OMITTED WHEN GENERATING JSON CONTAINING MULTIBYTE UTF-8 CHAR

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Extra byte at end of JSON output with JSON GENERATE NAME IS
    OMITTED when generating JSON containing multibyte UTF-8 chars
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V6.1               *
    *                 and later releases running programs that use *
    *                 JSON GENERATE with the NAME phrase           *
    *                 specifying IS OMITTED.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: An extra space character                *
    *                      is generated at the end of JSON output  *
    *                      document.                               *
    ****************************************************************
    * RECOMMENDATION: Install the provided PTF.                    *
    ****************************************************************
    There is a logic error in the JSON
    GENERATE routine when removing the top level document
    name from the JSON output, leaving a extra space character
    at the end of the document.
    
    COB0601T/K COB0602T/K COB0603T/K
    

Problem conclusion

  • The error in the COBOL runtime library JSON
    GENERATE routine has been corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH39581

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7C0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-08-04

  • Closed date

    2021-08-19

  • Last modified date

    2021-09-01

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

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

    UI76827 UI76832

Modules/Macros

  • IGZCEV4  IGZCMGEN IGZCMGUE IGZLLIBV IGZXAPI  IGZXCDA  IGZXD24
    IGZXDMR  IGZXJNI2 IGZXLPIO IGZXLPKA IGZXLPKB IGZXLPKC IGZXLPKD
    IGZXLPKE IGZXLPKF IGZXLPKG IGZXPK2
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R7B0 PSY UI76827

       UP21/08/27 P F108

  • R7C0 PSY UI76832

       UP21/08/27 P F108

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.

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7C0"}]

Document Information

Modified date:
02 September 2021