A fix is available
APAR status
Closed as program error.
Error description
CICS JSON Not Correctly Converting Character N with Tilde. A CICS COBOL application issues a WEB OPEN as a client. The response data contains a character N with a tilde. The data conversion process is adding a byte x'31' causing a conversion error (output_overflow). Which results in getting message. . DFHPI1009 JSON TO DATA TRANSFORMATION FAILED. A CONVERSION ERROR (OUTPUT_OVERFLOW) OCCURRED WHEN CONVERTING FIELD FOR JSONTRANSFRM . . Additional Symptom(s) Search Keyword(s): KIXREVSVR
Local fix
Change application/json to application/json; charset=utf-8 for the accept header.
Problem summary
**************************************************************** * USERS AFFECTED: All CICS users. * **************************************************************** * PROBLEM DESCRIPTION: Incorrect CCSID used for WEB CONVERSE * * response data containing JSON. * **************************************************************** * RECOMMENDATION: . * **************************************************************** A WEB CONVERSE command is used retrieve JSON from a remote server which contains a double byte UTF-8 character. The HTTP Content-Type header does not specify a charset. In the absence of a charset value CICS defaults to ISO-8859-1. This causes the JSON to be put into the container specified with CCSID(333). When the application retrieves the data it will be converted from ISO-8859-1 to the application's code page which will result in a misinterpretation of the double byte character. In the customer's case the container was passed to DFHJSON which failed with a DFHPI1009 OUTPUT_OVERFLOW conversion error. Keywords: msgDFHPI1009 PI1009 US-ASCII
Problem conclusion
DFHWBCL has been modified so that if a Content-Type header specifies application/json and does not give a charset, CICS assumes the body is in UTF-8. This adheres to the RFC7159 (for JSON) which states that the default codepage for JSON is UTF-8.
Temporary fix
Comments
APAR Information
APAR number
PI82231
Reported component name
CICS TS Z/OS V5
Reported component ID
5655Y0400
Reported release
000
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-05-26
Closed date
2017-07-21
Last modified date
2017-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI48999 UI49000
Modules/Macros
DFHWBCL
Fix information
Fixed component name
CICS TS Z/OS V5
Fixed component ID
5655Y0400
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 August 2017