IBM Support

PI86643: NO MECHANISM TO CONTROL THE HANDLING OF EMPTY JSON ARRAYS AFTER PI67641

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Previously empty JSON arrays may not have been present in the
    JSON produced by CICS if the corresponding element in the
    language structure was empty.
    .
    PI67641/UI43347 altered the behavior without providing a proper
    mechanism to control the handling of empty JSON arrays. Clients
    testing for the presence or absence of a JSON array must now
    test for an empty or populated JSON array.
    .
    Need an option for omitting empty optional arrays.  The JS2LS
    utility needs to honor the omission of the "required"
    validation keyword in the JSON schema for JSON arrays. If the
    array is empty and not required as specified in the JSON
    schema, do not include the array in the JSON object. If the
    array is empty and is required as specified in the JSON schema,
    include an empty array in the JSON
    

Local fix

  • The application receiving the JSON would need to ignore the
    values if they are not needed because thy contain no values.
    

Problem summary

  • DFHJS2LS does not provide mechanism to control empty JSON arrays
    

Problem conclusion

  • DFHJS2LS has been corrected so that "is optional array" would be
     supported.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.6 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI86643

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-31

  • Closed date

    2017-11-30

  • Last modified date

    2017-11-30

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

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

Fix information

  • Fixed component name

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
18 October 2021