IBM Support

PI17548: DFHJSON REUSES CONTAINERS INCORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JSON2COBOL converter returns randomly wrong CONTAINER content
    to a Cobol application.
    
    This is caused by the fact that program DFHJSON is called for
    the first time and then data from this first call is used as
    input to later calls to DFHJSON. As soon as the second call
    is done the container data is overwritten. (Reuse of the
    DFHPIAXIS-nnnnnn containers)
    

Local fix

  • Application to work around this issue would be
    to use a new channel on each call to DFHJSON.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Mulitple calls to DFHJSON using the     *
    *                      same channel cause containers to be     *
    *                      reused.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An application calls DFHJSON to convert JSON to program data.
    This conversion creates DFHPIAXIS-nnnnnn containers to hold
    parts of the data.  If another call is done to DFHJSON using the
    same channel then the DFHPIAXIS-nnnnnn containers may be reused
    incorrectly and this can cause unpredictable side effects to the
    the application.
    

Problem conclusion

  • Update ChannelState.java to set the container counter to 0 or
    obtain the value from the container DFHPIAX-CNT-CONT if it
    exists.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI17548

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-08

  • Closed date

    2014-09-05

  • Last modified date

    2015-03-19

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

    PI16835

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

    UI21268 UI21269

Modules/Macros

  • DFJ@H340
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R80D PSY UI21268

       UP14/09/20 P F409

  • R90D PSY UI21269

       UP14/09/20 P F409

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

Document Information

Modified date:
19 March 2015