Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contents of DB2 packages

Status
Not open for further replies.

iliev

Programmer
Jun 12, 2004
1
BG
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
 
If you have the bind files, you can use db2bfd command ..

If you do not have the bind files, SYSCAT.STATEMENTS should have a list of all statements.

SYSCAT.PACKAGEDEP (and other DEP views) may also give information on the dependencies

HTH
Sathyaram


For db2 resoruces visit More DB2 questions answered at &
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top