home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC63557 Status: Closed

CALLING A Z/OS STORED PROCEDURE WITH NULL INPUT PARMS FROM A JAVA PROGRAM,
JCC T2 OR T4, RESULTS IN ERRORCODE=-4463

product:
DB2 CONNECT / DB2CONNCT / 910 - DB2
Problem description:
Customer using JDBC JCC T2/T4 to call a z/OS DB2 Stored 
Procedure. They are using a NULL input parameter which results 
in a -4463 error code returned. 
 
 
 
 
To recreate the error use the SP below being called is a single 
line test SP. 
 
 
CREATE TABLE TEST (ID CHAR(20))! 
 
CREATE PROCEDURE TEST.SP_TEST 
 (IN id CHAR(20)) 
 LANGUAGE SQL 
 
BEGIN 
              INSERT INTO TEST VALUES ('SP_TEST called'); 
END! 
 
 
The CALL statement is coded as: 
 
CALL SP_TEST(NULL). 
 
The result is: 
Error parsing literal value starting at index 21.  Error 
Detail: 
Invalid character 'N' found in literal.  Full SQL 
statement 
text=CALL SP_TEST(NULL) ERRORCODE=-4463, SQLSTATE=42601.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Java programs calling z/OS Stored procedures will Null       * 
* parameter                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Universal JDBC Type 4 client programs calls a z/OS Stored    * 
* procedure with NULL parameter which results in Errorcode     * 
* -4463.                                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 UDB Version 9.1 Fix Pack 10                   * 
****************************************************************
Local Fix:
Use the Legacy Type 2 JDBC driver using db2java.zip.
Solution
Problem First fixed in DB2 UDB V9.1 Fix Pack 10
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.10.2009
16.06.2011
16.06.2011
Problem solved at the following versions (IBM BugInfos)
9.1.FP10
Problem solved according to the fixlist(s) of the following version(s)