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

stored procedure runs on udb8 but not version 7

P: n/a
I have created a working stored procedure under udb8.1, however when I try
to create the procedure under DB2 Universal Database Workgroup edition,
version 7, I get an syntax error on a RETURN; statement
IF (something= 'x') THEN
return;
END IF

If I then comment out the RETURN; , I get a ERROR SQL1109N The specified DLL
c:\...\db2udp.dll could not be loaded. I do not find the DLL on the machine.

The stored proc uses the following scalar functions RTRIM, TRANSLATE,
UPPER,LENGTH and uses dynamic SQL...
PREPARE xsqlStmt from sqlText; open cursor1;
fetch cursor1 into myvar; close cursor1;
Unfortunately, I cannot post the actual SP here as it is part of a
commercial product. Is there a list of functions, etc. that are not
supported in version 7? Why is dbw trying to load db2udp.dll?

Bill
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.