Forums Register Login
Stored proc on DB2 error 42703
Hi all,
We're trying to run a Stored procedure for the first time in java & get the following error message:
Caught SQLException during lookup printing
getMessage[IBM][CLI Driver][DB2] SQL0206N "PKGNAME " is not valid in the context where it is used. SQLSTATE=42703
We're connecting to DB2 (version 7, I think), via DB2Connect the run time client, from WSAD 5.1.0.
Does anyone have any ideas how to fix it?
Many thanks,
Forgot to say... The procedure runs fine from a COBOL program - its just a problem accessing it through java.
Did you ever figure out a solution for this? I'm having a very similar problem on the same version of DB2 (scary huh? 3 years later...)

This thread has been viewed 1484 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 16, 2018 06:52:30.