IBM Support

PI37059: JSON TRANSFORMATION TO APPLICATION DATA DOES NOT ALLOW NULL FOR NUMERIC FIELD. MESSAGE DFHPI1009 ISSUED.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using DFHJSON to transform JSON numeric fields to
    application data an INVALID_CHARACTER conversion error is
    returned in message DFHPI1009 if the incoming JSON data field is
    set to null.
    
    
    DFHPI1009 dd/mm/yyyy hh:mm:ss xxxxxxxx tttt nnnnn JSON to data
    transformation failed. A conversion error(INVALID_CHARACTER)
    occurred when converting field yyyy for EBABUNDLE bbbbbb.
    
    
    where xxxxxxxx is the CICS APPLID
          nnnnn    is the TRANNUM
          tttt     is the TRANID
          bbbbbbbb is the BUNDLE name
    

Local fix

  • For JSON numeric fields pass 0 (zero) rather than null
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHPI1009 INVALID_CHARACTER conversion  *
    *                      error occurs during JSON to data        *
    *                      transformation.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A JSON to data transformation is performed which includes a
    name/value pair declared with type "integer" or "number" in
    the JSON schema.
    However, in the JSON the value of this pair is null.  CICS
    detects that this is not a valid numeric value and a DFHPI1009
    error occurs with an error code of INVALID_CHARACTER.  This
    behaviour is inconsistent with that of the CICS Transaction
    Server Feature Pack for Mobile Extensions V1.0, available for
    CICS TS V4.2 and CICS TS V5.1.
    

Problem conclusion

  • The conversion library used by CICS has been updated so that if
    a JSON to data transformation is applied to a numeric field that
    is null, then the resultant data contains the value zero.  This
    makes the behaviour consistent with earlier CICS releases.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI37059

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-16

  • Closed date

    2015-07-28

  • Last modified date

    2015-09-02

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

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

    UI29906

Modules/Macros

  • DFJ@H403
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R90D PSY UI29906

       UP15/08/06 P F508

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.2","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.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 September 2015