home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IC62721 Status: Geschlossen

SQL0901N MAY BE ISSUED (OR THE INSTANCE MAY ABEND) DURING EVENT MONITOR
CREATION WITH DB2_COMPATIBILITY_VECTOR SET

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
SQL0901N may be issued (or the instance may abend) if an EVENT 
MONITOR (EM) is being 
created with an event-condition, i.e., WHERE clause, specified. 
 
For this to occur, these conditions must be satisfied: 
- EM is for STATEMENTS, TRANSACTIONS or CONNECTIONS 
- The database varchar2_compat configuration parameter was set 
at database creation time 
- The DB2_COMPATIBILITY_VECTOR registry variable  is set to ORA 
or has the 9th bit set (0x100)
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Performance Expert                                           * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Creation of an event monitor for statements ( CREATE EVENT   * 
* MONITOR ... FOR STATEMENTS ... ) fails if the db2 registry   * 
* variable DB2_COMPATIBILITY_VECTOR has been set to ORA. The   * 
* DB2 server returns the following error message:              * 
*                                                              * 
* DB2 SQL Error: SQLCODE=-901, SQLSTATE=58004,                 * 
* SQLERRMC=sqlnq_evmon_pack_pred     [250]:rc(     0)          * 
* , DRIVER=3.53.95, SQLState=<58004>, ErrorCode=<-901>.        * 
* SQLCA=<The SQL statement failed because of a non-severe      * 
* system error. Subsequent SQL statements can be processed.    * 
* (Reason "sqlnq_evmon_pack_pred     [250]:rc(     0)          * 
* ".). SQLCODE=-901, SQLSTATE=58004, DRIVER=3.53.95>.          * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* apply FP1                                                    * 
****************************************************************
Local-Fix:
No workaround exists if the database was created with the 
varchar2_compat database configuration parameter set. 
Otherwise, temporarily unset the DB2_COMPATIBILITY_VECTOR 
registry variable prior to creation of EM.
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
In the given ORACLE semantics, the shorter string is upcasted 
 
to the length of the longer string and padded with blanks. In 
this case, the APPL_ID is upcasted and has blanks at the end. 
 
The length comparison checking for the MONITOR identifiers 
consequently fail.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.08.2009
19.02.2010
19.02.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
9.7.0.1 FixList