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

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

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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 DDL FOR THE MQTS DEFINED ON  * 
* NICKNAME                                                     * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* move to v97 fp2                                              * 
****************************************************************
Local Fix:
No local fix
Solution
fixed in v97 fp2
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
17.09.2009
26.03.2010
26.03.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP2
Problem solved according to the fixlist(s) of the following version(s)