A fix is available
APAR status
Closed as new function.
Error description
Add support for decimals and leading/trailing spaces in JSON string for numeric receivers
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL 6.4 and later * * releases running programs using JSON * * PARSE on JSON string to parse values * * into numeric, numeric-edited, * * external floating-point, or internal * * floating-point receivers. * **************************************************************** * 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 the inclusion of a decimal point, leading and/or trailing spaces in decimal digits in addition to optional leading '+' or '-' signs in the JSON string when the receiver is numeric, numeric-edited, external floating-point, or internal floating-point. If a decimal point is present before or between decimal digits the JSON string is treated as fixed-point non-integers. If DECIMAL-POINT IS COMMA clause is specified under the SPECIAL-NAMES paragraph, this enhancement will interpret comma as a decimal point and parse the JSON string accordingly. Example: "+123", "-1.23", " 123", " 123 ", " -.123 " -> Valid Example: "12+", "+. 13", "12 3", " 12 -", " 12,,3 "->Not Valid Refer to the technote below for additional details about the enhancements by this APAR: https://www.ibm.com/support/pages/node/7230530
APAR Information
APAR number
PH65883
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-03-27
Closed date
2025-04-17
Last modified date
2025-05-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO02859 UO02861
Modules/Macros
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
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:
02 May 2025