By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,924 Members | 1,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,924 IT Pros & Developers. It's quick & easy.

SQL Stored Procedure not accepting parameters

P: n/a

I am using DB2 on the iSeries. I create a SQL Stored procedure in
iSeries Navigator by running a sql script. The declaration of the
procedure is as follows:

CREATE PROCEDURE Andrew.GetLargestFreeBlock(
IN filename CHAR(10),
IN surrogatename CHAR(10))

I use the filename and surrogatename in my procedure. When I run the
script it creates a program GETLA00001 in my library. When I try to
run the program it crashes. When I use DSPPGM on it I see that it
says that the number of parameters is 0. Does anybody have any
ideas? Do I have to do anything special when running the script to
create the program?


Apr 2 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.