IBM Support

IC94991: 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.5.0.1.                             *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 version 10.5.0.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC94991

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-16

  • Closed date

    2013-08-23

  • Last modified date

    2013-08-23

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

    IC94465

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA50 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 10.5

Reference #: IC94991

Modified date: 23 August 2013