View previous topic :: View next topic
|
Author |
Message |
anu2 Warnings : 1 New User
Joined: 10 Jun 2007 Posts: 36 Location: Chennai
|
|
|
|
Hi,
What would happen during precompilation if one specifies wrong column name while using cusrsor in a COBOL-DB2 program ?
Regards,
anu |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Did you test this condition on your system? If not, please do so and post back here if you have questions about what happens.
Is there a reason you feel that invalid column names would be handled differently if a cursor is in use? |
|
Back to top |
|
|
anu2 Warnings : 1 New User
Joined: 10 Jun 2007 Posts: 36 Location: Chennai
|
|
|
|
Hi,
Thanks for the response.
I don't have access to Mainframes these days , so i can't check it.
Would be greatful if you can give me the answer.
Regards,
anu. |
|
Back to top |
|
|
noorkh
New User
Joined: 06 Mar 2006 Posts: 76 Location: Chennai
|
|
|
|
Hi anu,
YOu will get compiler error and Sql code can be -204. |
|
Back to top |
|
|
|