IBM Support

PI83311: CONVERSION OF APPLICATION DATA TO JSON RESULTS IN TRUNCATED OUTPUT DUE TO BUFFER OVERFLOW

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer has a large amount of data, larger than 32,767
    bytes), which needs to be converted to JSON.  DFHPIJG is called
    for function CONVERT_DATA_TO_JSON  with an output buffer having
    a max length of x'8000'  (32,768 decimal).    DFHPIJG exits
    with RESPONSE(EXCEPTION) REASON(BUFFER_OVERFLOW).  The original
    output buffer is freemained and new buffer of the required size
    is getmained.  However, the original max length is passed in on
    a second call to DFHPIJG which results in the same truncation
    occurring again.  DFHPIJG is not called again so the truncated
    data is returned to the caller.
    
    Additional Symptom(s) Search Keyword(s): KIXREVRJL
    Convert data to JSON
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHJSON returns truncated data when     *
    *                      using the native (non-Java) parser.     *
    ****************************************************************
    DFHJSON is passed a large copybook to convert to JSON.  If the
    generated JSON is greater than 32KB it will be truncated when it
    is returned to the application.  The application receives no
    indication that an error has occurred.
    

Problem conclusion

  • DFHPIJG has been updated to stop the data truncation and
    DFHPITRI has been updated to correctly format a
    BUFFER_OVERFLOW exception trace entry.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI83311

  • 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-31

  • Last modified date

    2017-09-02

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

    PI79028

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

    UI49191

Modules/Macros

  • DFHPIJS  DFHPITRI
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R100 PSY UI49191

       UP17/08/02 P F708

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 September 2017