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 > Contents of DB2 Packages

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-06, 07:46
iliyan_vn iliyan_vn is offline
Registered User
 
Join Date: Sep 2006
Posts: 2
Contents of DB2 Packages

Hi to all!

I am new to DB2 UDB and I have some problems with invalid packages. I am working on a project that was started by other people before I joined them. Several packages fail to rebind with the REBIND PACKAGE statement or the db2rbind tool. I need a way to determine what procedures or triggers these packages contain because I often receive errors of this type: "SQL0101N The statement is too long or too complex. SQLSTATE=54001".
Can anyone help me?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-18-06, 08:15
GertK GertK is offline
Registered User
 
Join Date: Nov 2003
Location: Netherlands
Posts: 96
Hi,

You can use the db2bfd tool to display these SQL statements.

Regards, Gert
Reply With Quote
  #3 (permalink)  
Old 09-18-06, 11:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
msg

SQL0101N The statement is too long or too complex
means a problem with applheapsz
this parameter should probably be increased
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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