If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Store procedure: The statement is too long or too complex

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-17-07, 08:09
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Store procedure: The statement is too long or too complex

Hi,
creating a store procedure on DB2 v8 FP9 on Windows XP it creates without errors.

But creating the same store procedure on DB2 v8 FP11 on Linux and DB2 v9 FP2 on Linux returns the following error:

Code:
DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL0101N  The statement is too long or too complex.  LINE NUMBER=152.
SQLSTATE=54001
Any idea why DB2 for Linux reports error? Was some limitation introduced in fixpack?

Parameters on v8 (both Windows and Linux) are default:
Package cache size (4KB) (PCKCACHESZ) = (MAXAPPLS*8)
SQL statement heap (4KB) (STMTHEAP) = 2048

Parameters on v9 Linux are default:
Package cache size (4KB) (PCKCACHESZ) = AUTOMATIC
SQL statement heap (4KB) (STMTHEAP) = 2048

Thanks,
Grofaty

Last edited by grofaty; 09-17-07 at 08:29.
Reply With Quote
  #2 (permalink)  
Old 09-17-07, 08:36
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
-------------------------------

Last edited by grofaty; 09-17-07 at 09:19.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On