IBM Support

IC71492: STATIC EXECUTION INSERTS WRONG DATA IN DECFLOAT COLUMN USING PURE QUERY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Using static execution (using pureQuery) insert into DECFLOAT
    column inserts wrong data.
    
    For example:
    create table table_1(id int, col1 DECFLOAT(16))
    INSERT INTO TABLE_1 VALUES(?, ?) with 1, 100.00 as parameters
    
    
    Inserts 0, 100.00 instead of 1, 100.00.
    
    JCC JDBC driver trace does not show a problem on JCC client
    side.
    
    Dynamic execution (instead of static) works fine.
    

Local fix

  • Use Dynamic execution.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Incorrect data is inserted for DecFloat column.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 LUW V9.5 fixpack7.                            *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC71492

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-27

  • Closed date

    2010-10-12

  • Last modified date

    2010-10-12

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

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

    IC71497 IC71498

Fix information

Applicable component levels

  • R950 PSY

       UP

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2010