IBM Support

PH61848: DFHPI1010 JSON GENERATION FAILED (INVALID PACKED DECIMAL)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • At runtime, when CICS transforms JSON to data we put an F into
    the sign nibble, however as you've seen here when the field is
    updated by a PLI program C goes into the sign nibble.  This
    causes the transformation logic's validation logic
    (validatePacked() in ConversionLib.java) to reject the value
    when creating the response JSON.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: When CICS transforms data from a PL/I   *
    *                      program into JSON that contains a       *
    *                      decimal value, a DFHPI1010 occurs.      *
    ****************************************************************
    DFHJS2LS is run against a JSON schema that contains a decimal
    value which is always positive. At runtime when CICS transforms
    data from a PL/I program to JSON using an Axis2 JVM server a
    DFHPI1010 conversion error can occur. This happens if the
    decimal value has been updated by the PL/I program such that it
    contains a C in the sign nibble of the internal representation.
    CICS incorrectly expects the sign nibble to be an F.
    
    This problem can also occur in SOAP webservices or when linking
    to DFHJSON, both when using an Axis2 JVM server and a PL/I
    program.
    

Problem conclusion

  • CICS has been updated to expect the sign nibble of a FIXED
    DECIMAL to contain a C when the JSON schema declares that
    the value will always be positive.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61848

  • Reported component name

    CICS TS Z/OS V6

  • Reported component ID

    5655YA100

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-06-13

  • Closed date

    2024-08-21

  • Last modified date

    2024-09-03

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

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

    UI98109 UI98110

Modules/Macros

  • DFJ@H176 DFJ@H223 DFJ@H403 DFJ@H433 DFJ@H441 DFJ@H443 DFJ@H992
    DFJ@H993
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UI98110

       UP24/08/22 P F408

  • R500 PSY UI98109

       UP24/08/22 P F408

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":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
03 September 2024