IBM Support

IC94465: BITWISE SCALAR FUNCTIONS MIGHT RETURN INCORRECT RESULTS WHEN USED WITH DECFLOAT DATATYPE ON AIX POWER7

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On AIX POWER7, the following bitwise functions might return
    incorrect results when used with the DECFLOAT datatype:  BITAND,
    BITANDNOT, BITOR, BITXOR, and BITNOT
    
    Example:
    
    db2 "values ( bitand(integer(41), 33.67),  bitand(integer(41),
    decfloat(33.67, 34)) )"
    1                                          2
    
    ------------------------------------------
    ------------------------------------------
                                            32
    32
    
    Correct result from AIX P6 and linuxamd64:
    1                                          2
    
    ------------------------------------------
    ------------------------------------------
                                            33
    33
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * AIX POWER7                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1.0.3.                             *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 version 10.1.0.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC94465

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-30

  • Closed date

    2013-09-04

  • Last modified date

    2013-09-27

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       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":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 September 2013