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

WRONG TBSPACEID VALUE FOR CGTTS IN SYSIBM.SYSDATAPARTITIONS

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Here is the scenario: 
 
1) db2 "create user temporary tablespace TEMPSPACE" 
 
2) db2 "select TBSPACEID from sysibm.systablespaces where 
TBSPACE='TEMPSPACE'" 
 
 TBSPACEID 
 ----------- 
     6 
 
3) db2 "create global temporary table s1.cgtt1(c1 int) in 
TEMPSPACE" 
 
4) db2 "select CREATOR,NAME,TBSPACE from sysibm.systables where 
CREATOR='S1'  and NAME='CGTT1'" 
 
 CREATOR     NAME     TBSPACE 
 --------------------------- 
 S1         CGTT1     TEMPSPACE 
 
5) db2 "selectTABSCHEMA,TABNAME,TBSPACEID,LONG_TBSPACEID, 
INDEX_TBSPACEID from sysibm.sysdatapartitions where 
TABSCHEMA='S1' and TABNAME='CGTT1'" 
 
 TABSCHEMA  TABNAME TBSPACEID  LONG_TBSPACEID   INDEX_TBSPACEID 
 --------------------------- --------------------------------- 
 S1          CGTT1      0            6                 6 
 
 
When a CGTT is created, the TBSPACEID field in 
SYSIBM.SYSDATAPARTITIONS is set to 0 which is incorrect. The 
LONG_TBSPACEID and the INDEX_TBSPACEID are correctly set to 6.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See error description.                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 5 or later.              * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
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
First fixed in DB2 Version 9.7 Fix Pack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.03.2011
20.01.2012
20.01.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList