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

DB2LOOK FAILS TO GENERATE INDEX DDL FOR THE MQTS DEFINED ON NICKNAME

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
db2 create nickname SECNICK for secd2.sahanant.tab2; 
 
db2 CREATE SUMMARY TABLE mqt (col2) as (select * from secnick) 
DATA INITIALLY DEFERRED REFRESH DEFERRED; 
 
db2 create index idx on mqt(col2); 
 
Here the index 'idx' is created on MQT defined on nickname 
 
When you run db2look -d <dbname> -e you will find the index 
statement missing in the db2look output 
 
 
------------------------------------------------ 
-- DDL Statements for table "DBGUEST3"."MQT" 
------------------------------------------------ 
 SET CURRENT SCHEMA = "DBGUEST3"; 
SET CURRENT PATH = 
"SYSIBM","SYSFUN","SYSPROC","SYSIBMADM","DBGUEST3"; 
CREATE SUMMARY TABLE mqt (col2) as (select * from secnick) DATA 
INITIALLY 
DEFERRED REFRESH DEFERRED; 
REFRESH TABLE "DBGUEST3"."MQT"; 
 
CONNECT RESET; 
 
TERMINATE;
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* software                                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* db2look fails to generate index DDLs on MQT's defined on     * 
* nickname                                                     * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to v95 fp6                                           * 
****************************************************************
Local Fix:
No local fix
available fix packs:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
fixed in v95 fp6 and db2look now generated the index ddl on MQTs 
defined on nickname
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC63249 IC63253 IC66664 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.09.2009
14.05.2010
14.05.2010
Problem solved at the following versions (IBM BugInfos)
9.5.FP6
Problem solved according to the fixlist(s) of the following version(s)