IBM Support

PI53469: Z/OS CONNECT DOES NOT PRESERVE JSON PAYLOAD ELEMENT ORDERING AS SHOWN IN COPYBOOK FILES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • z/OS Connect does not preserve json payload element ordering
    as
    shown in copybook files. More precisely, if the copybook
    file
    has entries a,b,c,d, in order, z/OS Connect does not keep
    the order of the elements when the payload is processed and
    sent to its destination. For example: the order might be
    c,d,a,b
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile for z/OS using z/OS  *
    *                  Connect.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: z/OS Connect alters the order of        *
    *                      entries in JSON payload objects         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During a z/OS Connect service invocation process, the order of
    elements in JSON objects within the request request payloads are
    altered. For example:
    
    If a service endpoint returns the following json object :
    {"e":"f", "c":"d", "a";"b"}
    The client may see the following json object: {"a":"b", "c":"d",
    "e";"f"}
    
    Note that the payload content is not affected. It is only
    ordering of elements in a JSON object that is altered.
    

Problem conclusion

  • An attribute definition with the name of
    preserveJsonObjectPayloadOrder was added. This attribute can be
    set under the zosConnectManager element and it will apply to all
    configured services. When set to true, z/OS Connect does not
    alter the ordering of JSON objects' entries that are contained
    in the payloads.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI53469

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-02

  • Closed date

    2016-02-23

  • Last modified date

    2016-02-23

  • 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

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"850"}]

Document Information

Modified date:
14 October 2021