IBM Support

PH30400: z/OS Connect EE incorrectly transforms some numbers with a lot of digits after the decimal point.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible in next release.

Error description

  • When an API requester program attempts to receive a high
    precision floating point value such as 234567891234.5678901234,
    the transformed value is not valid.
    
    The field is defined in the Swagger document as
    "format":"decimal". The COBOL structure generated was type
    S9(28)V(3), the required type is S9(13)V9(10).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of z/OS Connect EE V3.0 API        *
    *                 requesters.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: z/OS Connect EE incorrectly transforms  *
    *                      some numbers with many digits after the *
    *                      decimal point.                          *
    ****************************************************************
    The translation of numbers between the API requester payload and
    JSON number format resulted in incorrect values being used. This
    was because values with a lot of numbers after the decimal
    point were not translated correctly.
    
    It was not possible to control the number of digits after the
    decimal point because the z/OS Connect EE build toolkit always
    specified that the number of fraction digits was 3.
    

Problem conclusion

Temporary fix

Comments

  • The z/OS Connect EE API requester code has been updated to
    correctly translate decimal numbers with a large number of
    digits after the decimal point.
    
    The build toolkit has also been updated to allow
    defaultFractionDigits to be specified in the properties file.
    The defaultFractionDigits parameter description is:
    "Specify the default number of fraction digits to use on a JSON
    decimal schema type. For COBOL, the valid range is 0-17, or 0-30
    if parameter wideComp3 is being used. For PLI, the valid range
    is 0-30.
    The default value is 3."
    
    The fix for this APAR is expected to be delivered by the PTF for
    z/OS Connect EE V3.0.43.0 (PH34379).
    

APAR Information

  • APAR number

    PH30400

  • Reported component name

    Z/OS CONNECT EE

  • Reported component ID

    5655CE300

  • Reported release

    000

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-09

  • Closed date

    2021-02-16

  • Last modified date

    2021-03-10

  • 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

    Z/OS CONNECT EE

  • Fixed component ID

    5655CE300

Applicable component levels

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0"}]

Document Information

Modified date:
14 February 2023