IBM Support

PI10289: USING DFHJSON TO FORMAT STRINGS WITH NUMBERS FOR THE DATA, QUOTES (") WERE NOT PLACED AROUND THE DATA.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Trying to use DFHJSON to transform according to resources
    generated from a JSON schema.  When transforming strings with
    numbers for the Data, quotes (") were not placed around the
    data.
    .
    Example..
    Sample schema...
    productType": {
     "type":"string",
     "required":false,
     "minimum":1,
     "maximum":2
      },
    "quantity": {
     "type":"string",
     "required":false,
     "minimum":1,
     "maximum":10
      },
    "refillNumber": {
     "type":"string",
     "required":false,
     "minimum":1,
     "maximum":2
                                               },
    .
    After transform result...
    "productType":"03","quantity":30,"refillNumber":"01"
    .
    Note the 30 without quotes.
    
    
    
    
    
    
    
    
    Additional Symptom(s) Search Keyword(s): KIXREVDAM
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHJSON does not put quotes around a    *
    *                      string value that contains numbers.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DFHJSON is called to convert application data to JSON.  The
    language structure for conversion contains all string data. Some
    of the string data is numbers only (eg 30). When DFHJSON is
    constructing the JSON output it incorrectly changes these only
    number strings to numbers in the JSON output.  This can cause
    errors if the data is sent to another service that is performing
    schema checking.
    

Problem conclusion

  • JSON processing in CICS has been changed to correctly handle
    string values containing numbers.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI10289

  • 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-01-24

  • Closed date

    2014-03-27

  • Last modified date

    2015-03-05

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

    PI08908

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

    UI16479

Modules/Macros

  • DFJ@H340
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R80D PSY UI16479

       UP14/04/05 P F404

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:
05 March 2015