IBM Support

PI83341: CICS JSON TRANSFORM PRODUCING ADDITIONAL COMMAS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The web service is using the CICS transform to generate the JSON
    response and we are finding many double commas being generated
    which is invalid JSON. The CICS verb itself does not fail, but
    it does produce an invalid JSON.
    
    This problem is due to an additional comma is output ahead
    of an empty array.
    
    Additional Symptom(s) Search Keyword(s): KIXREVCTC
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Native JSON generator produces JSON     *
    *                      with two commas ahead of an empty       *
    *                      array.                                  *
    ****************************************************************
    The native (non-Java) JSON generator is used to convert
    application data to JSON.  In this particular case, the
    application data contains a structure that is converted to an
    empty JSON array.  Residual state causes two commas to be placed
    between the proceeding name/value pair and the empty array in
    the JSON produced, making the JSON invalid.
    

Problem conclusion

  • DFHPIJG has been modified to ensure empty JSON arrays are
    proceeded by a single comma if the array is following another
    name/value pair at the same nesting level.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI83341

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-20

  • Closed date

    2017-07-21

  • Last modified date

    2017-08-02

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

    PI79210

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

    UI48995

Modules/Macros

  • DFHPIJG
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R100 PSY UI48995

       UP17/07/22 P F707

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.4","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.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 August 2017