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

FURTHER ENHANCEMENTS TO DB2CAT TO CHECK FOR TABLES AFFECTED BY APARS
IZ39997 & IZ40001. APAR IC79996 IMPROVEMENT

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The APAR IC79996: Enhance the db2cat tool to identify table 
which may still be impacted by the consequences of the APARs 
IZ39997 & IZ40001 
 
Does not detect the situation when we have a regular view of the 
same 
name as the orphaned MST. 
 
Example: 
 
          Dependent MST DESCRIPTION 
          ------------------------- 
 
 
 Schema of the dependent Table     : MARIAJ 
 Table name of the dependent Table : V_TEST 
 Refresh Option                : 
 MST type                      : Sts View 
 Isolation Level             : 1 
 Arithmetic Warning Level    : 78 
 
$ db2 drop table test 
DB21034E  The command was processed as an SQL statement because 
it was not a valid Command Line Processor command.  During SQL 
processing it returned: 
SQL0901N  The SQL statement failed because of a non-severe 
system error. Subsequent SQL statements can be processed. 
(Reason "Dependent MST's packed Descriptor not found".) 
SQLSTATE=58004 
 
1. If there are no views defined with the same name as the 
orphaned statsview , db2cat with APAR IC79996 will report the 
corruption: 
 
db2cat -d test_db -s mariaj -n test -v 
 
**************************************************************** 
Validating Packed Descriptor: MARIAJ  .TEST 
 
Orphan dependent MST (count = 0) found in packed descriptor: 
MARIAJ  .V_TEST 
 
 
2. 
If we have a view with the same name (it does not need to have 
the same columns) as the Orphan dependent MST, the db2cat 
enhanced with APAR IC79996 will not detect this corruption. 
 
 
db2 create view v_test as select c1,c3 from test 
**************************************************************** 
Validating Packed Descriptor: MARIAJ  .TEST 
 
No Corruption Detected. 
 
---------------------------------------------------------------- 
 
 
This APAR will make additional improvements to db2cat so the 
corruption is detected in both cases.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1 and Fix Pack 2                   * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
Problem was first fixed in DB2 Version 10.1 and Fix Pack 2
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.11.2012
31.05.2013
31.05.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.2 FixList
10.5.0.2 FixList