Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC99801 Status: Geschlossen

INSTANCE TRAP WHEN CREATING A VIEW USING AN EXISTING TABLE ALIAS AND
DB2_WORKLOAD=SAP

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
You might encounter an instance trap while attempting a CREATE 
VIEW using a view name that matches an existing table alias in 
SYSTABLES. 
 
Following steps reproduce the issue in DB2 v9.7: 
 
0. DB2_WORKLOAD=SAP 
1. db2 "create table t1 (col1 int, col2 int)" 
2. db2 "create alias v1 for table t1" 
3. db2 "drop view v1" 
4. db2 "create view v1 as select * from t1"  -> instance trap 
 
At step 3 DB2 returns error SQL0159N - The statement references 
"DB2V978.T1" which identifies a(n) "TABLE" rather than a(n) 
"VIEW". 
If an application or user does not handle this and proceeds to 
step 4 the instance will trap during execution of the CREATE 
VIEW statement. 
 
This APAR fix ensures DB2 returns error SQL0601N - The name of 
the object to be created is identical to the existing name 
"DB2V978.V1" of type "ALIAS" - at step 4 instead of trapping the 
instance.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 9.7 FixPack 10.                       * 
****************************************************************
Local-Fix:
Lösung
First fixed in DB2 version 9.7 FixPack 10.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
04.03.2014
18.11.2014
18.11.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP10
Problem behoben lt. FixList in der Version
9.7.0.10 FixList