IBM Support

PI79121: INCORRECT LENGTH OF VARIABLE LENGTH FIELD WHEN USING THE JAVA JSON PARSER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are running CICS transaction server 5.3.
    You have a COBOL variable length field defined.
    When you send the data with the Native JSON Parser,  your COBOL
    program receives the data with the correct length- in this case
    11.
    When you now use the Java JSON Parser, sending the same data,
    your COBOL program receives the data with an incorrect length
    of 8.
    
    
    
    Additional Symptom(s) Search Keyword(s): KIXREVxxx
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect bytes count for the converted *
    *                      DBCS in JSON payload when with Java     *
    *                      parser.                                 *
    ****************************************************************
    * RECOMMENDATION: .                                            *
    ****************************************************************
    Java parser is being used to convert JSON message. If the
    JSON binding file is generated from a data structure contains
    OCCURS DEPENDING ON, and in which DBCS characters included,
    the characters are converted correctly to DBCS, but the bytes
    count of the message is wrong.  It counts one DBCS character
    as one byte, rather than counting the real bytes count in the
    message. E.g., it counts 0E61A00F as one byte but it's four
    bytes long actually.
    

Problem conclusion

  • Java parser for JSON has been altered to correctly count the
    bytes number of DBCS characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI79121

  • 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-03-30

  • Closed date

    2017-08-11

  • Last modified date

    2017-09-02

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

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

    UI49507 UI49508

Modules/Macros

  • DFJ@H403
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R00D PSY UI49508

       UP17/08/15 P F708

  • R10D PSY UI49507

       UP17/08/15 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.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 September 2017