IBM Support

IT38678: DECIMAL PRECISION DIFFERENCE IN JDBC WITH ORA & NON-ORA SETTING

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Both DB2 & JCC rounds down double(decimal) values by default.
    But when server is set with ORA compatibility, Db2 changes the
    behavior, and it rounds up the value. JCC has no way of knowing
    if ORA compatibility is set or not. To solve this problem, JCC
    will send all decimal values as it is without any truncation to
    server, and server will do the truncation according to its
    settings.
    
    This change in behavior is applicable only to Db2 on LUW server
    and jcc default behavior holds good for all other database
    servers.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 Connect users                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 V11.1.4.7.                                    *
    ****************************************************************
    

Problem conclusion

  • Problem fixed in Db2 V11.1.4.7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT38678

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-12

  • Closed date

    2022-01-10

  • Last modified date

    2022-01-10

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

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

    IT38691

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"11.1"}]

Document Information

Modified date:
04 May 2022