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

SQL0413N MAY BE RETURNED WHEN QUERYING AGAINST SYSIBMADM.DBA_IND EXES OR
SYSIBMADM.DBA_IND_PARTITIONS IF FULLKEYCARD IS 0

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When you have oracle compatibility mode turned on and have a 
table that has fullkeycard of zero, you may receive SQL0413N if 
you try to query against table SYSIBMADM.DBA_INDEXES. Also, when 
you have a partitioned index that has fullkeycard of zero, you 
will receive SQL0413N if you query against table 
SYSIBMADM.DBA_IND_PARTITIONS. 
 
For example, 
db2set DB2_COMPATIBILITY_VECTOR=ORA 
db2 "CREATE TABLE foo(a int)" 
db2 "CREATE INDEX i on foo(a)" 
db2 "RUNSTATS ON TABLE db2user.foo ON KEY COLUMNS AND 
INDEXES ALL" 
db2 "SELECT * FROM SYSIBMADM.DBA_INDEXES" 
SQL0413N  Overflow occurred during numeric data type conversion. 
 
or 
 
db2set DB2_COMPATIBILITY_VECTOR=ORA 
db2 "CREATE TABLE foo(a INT)  PARTITION BY RANGE (a) (STARTING 
FROM (1) ENDING AT (100) EVERY (20))" 
db2 "CREATE INDEX i ON foo(a) PARTITIONED" 
db2 "RUNSTATS ON TABLE db2user.foo ON KEY COLUMNS AND 
INDEXES ALL " 
db2 "SELECT * from SYSIBMADM.DBA_INDEXES" 
SQL0413N  Overflow occurred during numeric data type conversion.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users running servers on DB2 Version 9.7 on platforms    * 
* Linux, Unix and Windows, and querying against                * 
* SYSIBMADM.DBA_INDEXES or SYSIBMADM.DBA_IND_PARTITIONS        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* This problem is first fixed in DB2 Version v9.7 Fix Pack 7.  * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
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
This problem is first fixed in DB2 Version v9.7 Fix Pack 7.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC88321 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.07.2012
20.10.2012
20.10.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList