Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC94465 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem 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
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* AIX POWER7                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1.0.3.                             * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 version 10.1.0.3.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC94991 IC95711 IC95712 IC95713 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
30.07.2013
04.09.2013
27.09.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.3 FixList
10.1.0.3 FixList