IBM Support

PH73344: TRANSFORM JSONTODATA FAILS WITH DFHPI1007 UNEXPECTED_CONTENT DUE TO CCSID CONVERSION MISMATCH.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During EXEC CICS TRANSFORM JSONTODATA, a CCSID 1208 (UTF-8) JSON
    input fails with DFHPI1007 UNEXPECTED_CONTENT when the
    JSONTRANSFRM is generated with CCSID=1146 and the CICS region
    uses LOCALCCSID=37. Trace shows that CICS internally converts
    the JSON data from CCSID 1208 to the region LOCALCCSID of 37 but
    subsequently passes the converted buffer to the JSON parser
    (PIJP) specifying CCSID 1146.
    
    This apparent CCSID mismatch causes valid JSON structural
    characters whose EBCDIC representations differ between CCSID 37
    and 1146 to be misinterpreted, resulting in the transformation
    failure. Changing LOCALCCSID to 1146 causes the same input and
    application to complete successfully.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: EXEC CICS TRANSFORM JSONTODATA can      *
    *                      fail with a parsing error if the        *
    *                      bundle CCSID differs from the region's  *
    *                      CCSID. EXEC CICS TRANSFORM DATATOJSON   *
    *                      will also return JSON with the wrong    *
    *                      CCSID.                                  *
    ****************************************************************
    An application issues EXEC CICS TRANSFORM JSONTODATA or
    EXEC CICS TRANSFORM DATATOJSON, using a bundle that was
    generated with a CCSID different to the region's CCSID.
    
    CICS incorrectly uses the region's CCSID instead of the CCSID
    specified in DFHJS2LS when setting the container content. As a
    result, JSONTODATA converts data to the wrong codepage, leading
    to a parsing error. This leads to a DFHPI1007 error in the CICS
    job log, such as:
    
    DFHPI1007 mm/dd/yyyy hh:mm:ss applid JJJJ 00056 JSON to data
    transformation failed because of incorrect input
    (UNEXPECTED_CONTENT) for JSONTRANSFRM MSG1.
    
    The parsing error which caused the DFHPI1007 error is observable
    in the CICS trace:
    04123 QR    PI 3413 PIJP1 *EXC* PARSING_ERROR
    
    DATATOJSON also sets the wrong CCSID which can become corrupted
    during further operations.
    

Problem conclusion

  • CICS has been updated to use the CCSID from the JSON bundle,
    which is generated from DFHJS2LS, when it reads the container
    for JSONTODATA requests. It also sets that CCSID on the output
    container for DATATOJSON requests.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH73344

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-09-28

  • Closed date

    2026-11-26

  • Last modified date

    2026-11-28

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

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

    PH73895 UO10429

Modules/Macros

  • DFHPIJS
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R300 PSY UO10429

       UP26/11/28 I 1000

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":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.6","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
28 November 2026