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 IC63289 Status: Geschlossen

UNEXPECTED ERRORS CAN OCCUR WHEN REFERENCING A USER-DEFINED TYPE WITH THE
SAME NAME AS A TYPE IN ANOTHER SCHEMA.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
An unexpected error can occur when referencing a user-defined 
type with the same name as a type in another schema.  The error 
would be: 
- an SQL0100W and statement failure, or 
- an SQL1224N error, or 
- no error may be reported, but expected type revalidation does 
not occur. 
 
To encounter one of these problems, the following general 
conditions must be met: 
- multiple types must exist in SYSCAT.DATATYPES with the same 
TYPENAME, one of which is the type being referenced, and 
- the type being referenced must not be qualified with a schema. 
 
In addition to the general conditions, an SQL0100W error will be 
reported when: 
- the DB2 instance is using the Database Partitioning Feature, 
and 
- the type being referenced has the same name as a built-in type 
that can not be directly referenced by the user (for example, 
types in the SYSIBMADM schema). 
 
In addition to the general conditions, an SQL1224N error will be 
reported when: 
- the type being referenced is a Distinct or an Array type, and 
the ANCHOR clause was not used in the CREATE TYPE statement, and 
- some other type with a matching name is invalid 
(SYSCAT.DATATYPES.VALID is 'N'). 
 
In addition to the general conditions, no error may be reported 
but revalidation will fail to occur when: 
- the type being referenced is invalid (SYSCAT.DATATYPES.VALID 
is 'N'), and 
- some other type with a matching name is valid 
(SYSCAT.DATATYPES.VALID is 'Y')
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All DB2 UDB systems on Linux, Unix, and Windows platforms at * 
* service levels on Version 9.7.0.                             * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* An unexpected error can occur when referencing a             * 
* user-defined type with the same name as a type in another    * 
* schema.  The error would be:                                 * 
* - an SQL0100W and statement failure, or                      * 
* - an SQL1224N error, or                                      * 
* - no error may be reported, but expected type revalidation   * 
* does not occur.                                              * 
*                                                              * 
* To encounter one of these problems, the following general    * 
* conditions must be met:                                      * 
* - multiple types must exist in SYSCAT.DATATYPES with the     * 
* same TYPENAME, one of which is the type being referenced,    * 
* and                                                          * 
* - the type being referenced must not be qualified with a     * 
* schema.                                                      * 
*                                                              * 
* In addition to the general conditions, an SQL0100W error     * 
* will be reported when:                                       * 
* - the DB2 instance is using the Database Partitioning        * 
* Feature, and                                                 * 
* - the type being referenced has the same name as a built-in  * 
* type that can not be directly referenced by the user (for    * 
* example, types in the SYSIBMADM schema).                     * 
*                                                              * 
* In addition to the general conditions, an SQL1224N error     * 
* will be reported when:                                       * 
* - the type being referenced is a Distinct or an Array type,  * 
* and the ANCHOR clause was not used in the CREATE TYPE        * 
* statement, and                                               * 
* - some other type with a matching name is invalid            * 
* (SYSCAT.DATATYPES.VALID is 'N').                             * 
*                                                              * 
* In addition to the general conditions, no error may be       * 
* reported but revalidation will fail to occur when:           * 
* - the type being referenced is invalid                       * 
* (SYSCAT.DATATYPES.VALID is 'N'), and                         * 
* - some other type with a matching name is valid              * 
* (SYSCAT.DATATYPES.VALID is 'Y')                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to product version 9.7 fix pack 1.                   * 
****************************************************************
Local-Fix:
Qualify the type reference with a schema name.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
21.09.2009
21.12.2009
21.12.2009
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP1
Problem behoben lt. FixList in der Version
9.7.0.1 FixList