View previous topic :: View next topic
|
Author |
Message |
sriram_motamarri Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 11 Location: Chennai
|
|
|
|
Hi,
I have written a new program to perform Execute immediate in cobol.
The program reads the input file which has sql queries and executes them.
When I tested in lower region, it worked perfectly. But in production I am getting sqlcode -518.
Can anyone tell me what I am missing.
Let me know if more details needed.
Thanks. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You posted nothing that You could not debug Yourself just looking at the manuals
from the relevant db2 manuals
Quote: |
-518
THE EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT |
so instead of wasting my time in remote debugging
I pointed You to a tested and working clone of DSNTEP2
sorry for forcing You to click twice
and DO NOT PM with futilities |
|
Back to top |
|
|
|