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

SQL ROUTINES THAT USE THE SAME VARIABLE FOR BOTH THE IN AND OUT PARAMETERS
MAY RETURN NULL

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
If a routine uses the same variable for both the IN and OUT 
parameters, the OUT may be NULL when the routine is called after 
it has been rebound.  The following is an example of a call to a 
routine that is using the parameters in this way. 
 
call proc1(myvar, myvar)
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* SQL Routine users                                            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade the DB2 LUW server to version 9.7 Fix Pack 9         * 
****************************************************************
Local-Fix:
The issue will not occur if an INOUT parameter is used. 
Variables that will be both passing (IN) data and receiving data 
(OUT) can be declared as INOUT rather than passing in the 
variable twice. For example if the procedure was called as 
proc1(myvar, myvar), it can be called as proc1(myvar) if an 
INOUT rather than an IN and OUT parameter is used. 
 
For additional information on the INOUT parameter please see the 
Create procedure statement at the following Infocenter page. 
 
http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2 
Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0003493.html
verfügbare FixPacks:
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 fix is applied to the server and was first fixed in version 
9.7 Fix Pack 9
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC96967 IC96973 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
19.09.2013
18.12.2013
18.12.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP9
Problem behoben lt. FixList in der Version
9.7.0.9 FixList
9.7.0.9 FixList