IBM Support

PI88520: CICS WEB CLIENT SENDS JSON DATA IN EBCDIC INSTEAD OF ASCII

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A CICS application constructs a JSON message within a container
    and issues an EXEC CICS WEB CONVERSE command to send that JSON
    data to a remote server.  The application specified a MEDIATYPE
    of application/json;v=3.
    
    DFHWBCL incorrectly determines that the supplied mediatype is
    not a text based type.  This causes the JSON data to be sent
    without being converted from EBCIDC to ASCII.
    
    The remote server is then unable to process the JSON message.
    
    Additional Symptom(s) Search Keyword(s): KIXREVRJL
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All.                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: MEDIATYPE parameter on EXEC CICS WEB    *
    *                      SEND and CONVERSE commands may be       *
    *                      interpreted incorrectly.                *
    ****************************************************************
    In the reported problem, an EXEC CICS WEB CONVERSE command
    contained a MEDIATYPE parameter of: application/json;v=3.
    This is legal syntax but having the ';v=3' caused routine
    wbcm_determine_mediatype to not identify the associated payload
    as being text but binary.  When the payload was placed into a
    container, no conversion to UTF-8 text was performed.  The data
    was then sent to the server in EBCDIC.
    

Problem conclusion

  • DFHWBCL has been amended to correctly identify the MEDIATYPE
    parameter, including ones that have data past the semi-colon.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI88520

  • 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-10-06

  • Closed date

    2018-02-20

  • Last modified date

    2018-03-01

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

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

    010PC2Ÿ UI53966 UI53967

Modules/Macros

  • DFHWBA   DFHWBA1  DFHWBAP  DFHWBAPF DFHWBBLI DFHWBCL  DFHWBDM
    DFHWBDUF DFHWBENV DFHWBPA  DFHWBPW  DFHWBSO  DFHWBSR  DFHWBTRI
    DFHWBTTA DFHWBXM  DFHWBXN
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R000 PSY UI53967

       UP18/02/21 P F802

  • R100 PSY UI53966

       UP18/02/28 P F802

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:
01 March 2018