467,880 Members | 1,094 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,880 developers. It's quick & easy.

stored procedure runs on udb8 but not version 7

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

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?

Nov 12 '05 #1
  • viewed: 1025

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Anthony Robinson | last post: by
1 post views Thread by Uma | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.