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 | |
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 |