DB2 DYNAMIC STORED PROCEDURE

IBM's flagship relational database management system
Padma6
Posts: 1
Joined: Thu Jul 09, 2009 8:30 pm
Skillset: mainframe db2 , cobol, jcl
Referer: friend

DB2 DYNAMIC STORED PROCEDURE

Postby Padma6 » Thu Jul 09, 2009 8:34 pm

Hello,

I have coded a dynamic SQL statement in my DB2 Stored Procedure.
When i run my stored procedure i am hitting a -805 on the Prepare and Execute statement.

What am i missing ?
Please advise.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: DB2 DYNAMIC STORED PROCEDURE

Postby dick scherrer » Fri Jul 10, 2009 1:20 am

Hello,

Did you look in the db2 messages?
http://publibz.boulder.ibm.com/cgi-bin/ ... /2.1.6.398?
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post