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

THE INDEX RECREATED WITH SYSPROC.ADMIN_MOVE_TABLE PROCEDURE MIGHT HAVE
WRONG DEFINITION.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
If table for which index was created with 'GENERATE KEY USING 
XMLPATTERN ... AS ... REJECT INVALID VALUES' clause was moved 
with SYSPROC.ADMIN_MOVE_TABLE procedure, then recreated index 
will have wrong definition. 
REJECT INVALID VALUES clause will be changed to IGNORE INVALID 
VALUES clause. 
 
The issue can be observed with db2look utility: 
 
db2look -d sample -z db2inst1 -t tab1 -e 
 
        CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" 
                        ("C_XML" ASC) 
                        GENERATE KEY USING XMLPATTERN '/row/c1' 
                        AS SQL DOUBLE   REJECT INVALID VALUES 
<<<<< 
                        COMPRESS NO ALLOW REVERSE SCANS; 
 
db2 "CALL 
SYSPROC.ADMIN_MOVE_TABLE('DB2INST1','TAB1','','','','','','','', 
'','MOVE')" 
 
db2look -d sample -z db2inst1 -t tab1 -e 
 
        CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" 
                        ("C_XML" ASC) 
                        GENERATE KEY USING XMLPATTERN '/row/c3' 
                        AS SQL DOUBLE   IGNORE INVALID VALUES 
<<<<< 
                        COMPRESS NO ALLOW REVERSE SCANS;
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description.                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 7.                       * 
****************************************************************
Local Fix:
No 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
Problem was first fixed in DB2 Version 9.7 Fix Pack 7.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC87910 IC87919 IC88623 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.05.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