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

ALTER INDEX TO SET COMPRESS ATTRIBUTE ON INDEX OF GLOBAL TEMPORARY TABLE
RETURNS SQL0526 INSTEAD OF SQL0650

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
The COMPRESS atttibute of an index on a global temporary table 
(declared or created) cannot be altered.  The ALTER INDEX 
statement should return SQL0650 reason code 23, SQLSTATE 56090 
but instead returns SQL0526, SQLSTATE 42995. For example: 
 
declare global temporary table dgtt (c1 int, c2 int) 
DB20000I  The SQL command completed successfully. 
 
create index session.dgttindex on session.dgtt (c1, c2) 
DB20000I  The SQL command completed successfully. 
 
alter index session.dgttindex compress yes 
SQL0526N  The statement was not processed because the statement 
refers to a created temporary table or a declared temporary 
table and includes functionality that cannot be used with 
temporary tables.  SQLSTATE=42995
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5 fix pack 4                       * 
****************************************************************
Local Fix:
available fix packs:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
First fixed in DB2 version 10.5 fix pack 4
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.04.2014
08.09.2014
08.09.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.4 FixList