IBM Support

PH65057: NEW FUNCTION: UPDATED JSON PARSE TO ALLOW CERTAIN NON-NUMERIC CHARACTERS IN JSON STRING WHEN RECEIVER IS NUMERIC, NUMERIC-EDITED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • JSON Parse currently does not allow certain non-numeric
    characters in JSON String when receiver is numeric,
    numeric-edited
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 and later      *
    *                 releases running programs which use JSON     *
    *                 PARSE statement(s) on JSON string(s) to      *
    *                 parse values into numeric,                   *
    *                 numeric-edited, external floating-point, or  *
    *                 internal floating-point receiver data items. *
    ****************************************************************
    * PROBLEM DESCRIPTION: NEW FUNCTION                            *
    ****************************************************************
    * RECOMMENDATION: Install the provided PTF.                    *
    ****************************************************************
    None
    
    COB0604T/K
    

Problem conclusion

Temporary fix

Comments

  • NEW FUNCTION
    
    The COBOL Runtime has been enhanced to allow '+', '-',
    and 'space' sign symbols in addition to numeric characters
    in position 1 of the JSON string when the receiver is
    numeric, numeric-edited, external floating-point, or
    internal floating-point. Users installing this APAR
    must recompile their existing programs with the compiler
    APAR PH65097 applied to observe the new behaviour.
    

APAR Information

  • APAR number

    PH65057

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7E0

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2025-01-30

  • Closed date

    2025-02-25

  • Last modified date

    2025-03-04

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

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

Modules/Macros

  • IGZCER4  IGZCEV4  IGZCJNI2 IGZLLIBV IGZXAPI  IGZXCA31 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

  • R7D0 PSY UO02241

       UP25/03/01 P F502  

  • R7E0 PSY UO02242

       UP25/03/01 P F502  

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":"7E0","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
04 March 2025