home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IC95712 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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  9.7 FP9                              * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 version 9.7 FP9
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.09.2013
11.11.2013
16.12.2013
Problem solved at the following versions (IBM BugInfos)
9.7.FP9
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.9 FixList
9.7.0.9 FixList