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 IT18759 Status: Closed

TRUNC ON MINIMUM INTEGER VALUE MIGHT RETURN 0 WHEN (VALUE, -X) IS DONE

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Example:
CREATE TABLE TMP (D_INT   INTEGER)
INSERT INTO TMP VALUES (-2147483648);

SELECT TRUNCATE(D_INT , -2) FROM TMP;
1
-----------
          0

  1 record(s) selected.


Correct value is: -2147483600
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* All                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description. The issue is fixed in fixpaks for     *
* v10.1, v10.5 and v11. Please, see SYSROUTE APARs to see      *
* where this APAR is addressed                                 *
****************************************************************
* RECOMMENDATION:                                              *
* See SYSROUTE APARs to see where this APAR is addressed       *
****************************************************************
Local Fix:
n/a
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT18742 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.01.2017
31.07.2017
31.07.2017
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)