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

ADMIN_CMD HANGS OR THROWS SQL0469N WHILE CALLING DESCRIBE CALL PROCEDURE
STATEMENT.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
The admin_cmd calling describe call statement hangs  or throws 
SQL0469N 
Repro - 
 
 
connect to sample; 
 
CREATE PROCEDURE newton.noLobProc ( out  parm1    SMALLINT, out 
parm2    INT, out  parm3    BIGINT, out  parm4    REAL, out 
parm5    FLOAT, out  parm6    DOUBLE, out  parm7    CHAR(200), 
out  parm8    VARCHAR(200), out  parm9    LONG VARCHAR, out 
parm10   DATE, out  parm11   TIME, out  parm12   TIMESTAMP ) 
EXTERNAL NAME 'blah!blah' DYNAMIC RESULT SETS 0  FENCED LANGUAGE 
C PARAMETER STYLE DB2SQL; 
 
 
 
DESCRIBE call newton.noLobProc( 1, ? , 8, ?,?,? ,? ,? ,? ,?,?, 
12 ); 
 
CALL ADMIN_CMD ('DESCRIBE call newton.noLobProc( 1, ? , 8, ?,?,? 
,? ,? ,? ,?,?, 12 )'); 
 
SQL0469N  The parameter mode OUT or INOUT is not valid for a 
parameter in the 
routine named "NOLOBPROC" with specific name 
"SQL091021065248000" (parameter 
number "1", name "PARM1").  SQLSTATE=42886
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* users of DESCRIBE command using admin_cmd                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* connect to sample;                                           * 
*                                                              * 
* CREATE PROCEDURE newton.noLobProc ( out  parm1    SMALLINT,  * 
* out  parm2    INT, out  parm3    BIGINT, out  parm4    REAL, * 
* out  parm5    FLOAT, out  parm6    DOUBLE, out  parm7        * 
* CHAR(200), out  parm8    VARCHAR(200), out  parm9    LONG    * 
* VARCHAR, out  parm10  DATE, out  parm11  TIME, out  parm12   * 
* TIMESTAMP ) EXTERNAL NAME 'blah!blah' DYNAMIC RESULT SETS 0  * 
* FENCED LANGUAGE C PARAMETER STYLE DB2SQL;                    * 
*                                                              * 
*                                                              * 
*                                                              * 
* DESCRIBE call newton.noLobProc( 1, ? , 8, ?,?,? ,? ,? ,?     * 
* ,?,?, 12 );                                                  * 
*                                                              * 
* CALL ADMIN_CMD ('DESCRIBE call newton.noLobProc( 1, ? , 8,   * 
* ?,?,? ,? ,? ,? ,?,?, 12 )');                                 * 
*                                                              * 
* above call to admin_cmd might hang.                          * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v9.7 fp3 or use parmater marker inplace of user   * 
* supplied values                                              * 
****************************************************************
Local-Fix:
use parameter marker(?) instead of user supplied values. 
the following call works.. 
CALL ADMIN_CMD ('DESCRIBE call newton.noLobProc( ?, ? , ?, 
?,?,? ,? ,? ,? ,?,?, ?)');
verfügbare FixPacks:
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 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 9a 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
V9.7 Fp3 contains fix
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
26.10.2009
14.05.2010
14.05.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP3
Problem behoben lt. FixList in der Version
9.7.0.2 FixList