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 IC78017 Status: Closed

CALL PROCEDURE COMMAND OF MORE THAN 64K SIZE THROWS SQL0104N ERROR WHEN
EXECUTED USING CLP

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
CALL Procedure command of more than 64K size throws SQL0104N or 
SQL0440N error when executed using CLP. 
 
Suppose in file foo.clp, there is a CALL statement with more 
than 64K size, then while execution, we get the below error: 
 
$ db2 -tvf foo.clp 
 
SQL0104N  An unexpected token "CALL" was found following 
"BEGIN-OF-STATEMENT". 
Expected tokens may include: "<call>". SQLSTATE=42601 
 
or 
 
SQL0440N  No authorized routine named "<routine-name>" of type 
"<routine-type>" having compatible arguments was found.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Vast sql statement fails with SQL0104N error on CLP session  * 
* but the compound statements including the target statement   * 
* can work well.                                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2 Version 9.7 FixPak 6                          * 
****************************************************************
Local Fix:
To call the statement in a compound statement
available fix packs:
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

Solution
Problem was first fixed in Version 9.7 FixPak 6
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
10.08.2011
11.06.2012
11.06.2012
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList