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

-901 error returned by SQL procedure using BULK COLLECT, if created in
Version 9.7 Fix Pack 3a

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
A defect in DB2 Version 9.7 Fix Pack 3a can cause an unexpected 
error or server trap when an SQL procedure performs a BULK 
COLLECT operation.  To correct this problem, you must recreate 
the SQL procedure using Version 9.7 Fix Pack 4 or later. 
 
Code was also added in Fix Pack 4 to detect affected SQL 
routines.  When DB2 detects a potentially faulty routine that 
uses BULK COLLECT and was compiled using Fix Pack 3a, DB2 will 
report error -901, which is a severe error code normally 
reserved for unexpected DB2 internal errors.  In this situation, 
however, the error is expected.  The reported error will be 
changed to a less severe -471 error in Version 9.7 Fix Pack 5.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Trying to execute a PL/SQL procedure created in db2 v97fp3a  * 
* with bulk collect operations.                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* If a PL/SQL routine with bulk collection operations were     * 
* created in db2 v97fp3a, it would need to be recreated in     * 
* v97fp4 or a later fixpack. A -901 error will be returned by  * 
* db2_v97fp4 if a customer attempts to executes the routine    * 
* without recreating.                                          * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v97fp5 and recreate the routine that          * 
* triggered the -471 error.                                    * 
****************************************************************
Local-Fix:
Drop and recreate the affected SQL routine, using DB2 Version 
9.7 Fix Pack 4 or later.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 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 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
The error is changed from -901 to a less severe -471 in 
db2_v97fp5. The customer still need to recreate the routine for 
it to execute successfully. The first message token of the -471 
error contains the full qualified routine name.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
10.08.2011
07.12.2011
07.12.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
9.7.0.5 FixList