Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT09596 Status: Geschlossen

SYSIBM.POWER ( EXPRESSION1, EXPRESSION2 ) WILL RETURN INCORRECT RESULTS FOR
SOME VALUES WHEN THE BIGINT DATA TYPE IS USED

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
The POWER scalar function will return incorrect results for 
certain values if at least one BIGINT argument is used. 
 
The following is a list of values that will produce incorrect 
results: 
 
Case (1) Argument 1 is 2 or -2 and argument 2 is -1.  The 
correct result is to be 1 if argument 1 is 2 and -1 if argument 
1 is -2, but 0 is returned instead. 
 
Case (2) Argument 1 is -1 and argument 2 is less than 0.  The 
correct result is to be -1 if argument 2 is odd and 1 if 
argument 2 is even, but 0 is returned instead. 
 
Case (3) Arguments 1 and 2 are both 0.  The correct result is 1, 
but an overflow error (SQL0802N; SQLSTATE=22003) is returned 
instead. 
 
For example, the value in each column should be -1, but instead 
the value in columns 2, 3, and 4 is 0. 
 
values(power(-1,-1), power(bigint(-1),-1), power(-1,bigint(-1)), 
power(bigint(-1),bigint(-1))) 
 
1           2                    3                    4 
----------- -------------------- -------------------- 
-------------------- 
         -1                    0                    0 
0 
 
  1 record(s) selected.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.7.                             * 
****************************************************************
Local-Fix:
Lösung
The problem is first fixed in DB2 version 10.5.0.7.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.06.2015
19.01.2016
11.07.2016
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList