DB2 - Problem description
| Problem IC94991 | Status: Closed |
BITWISE SCALAR FUNCTIONS MIGHT RETURN INCORRECT RESULTS WHEN USED WITH DECFLOAT DATATYPE ON AIX POWER7 | |
| product: | |
DB2 FOR LUW / DB2FORLUW / A50 - 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.5.0.1. * **************************************************************** | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 10.5 Fix Pack 1 for Linux, UNIX, and Windows | |
| Solution | |
The problem is first fixed in DB2 version 10.5.0.1. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 16.08.2013 23.08.2013 23.08.2013 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.5.0.1 |
|