Author: Rohit Umarjikar
Posted: Tue May 23, 2017 8:49 pm (GMT 5.5)
You are mixing COBOL and SQL statements. You need to clearly able to differentiate them. What you coded is in COBOL and not under "EXEC SQL" so you will get compilation errors and the reason is in my previous post.
Please point us to the manual that said so.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."![icon_razz.gif]()
Posted: Tue May 23, 2017 8:49 pm (GMT 5.5)
Quote: |
........ so it just seems as though my COBOL or DB2 environment doesn't tolerate predicate usage.........although I admit throwing a '14' return code at compile time and saying that READCUR is undefined seems a weird way to make that point. |
Quote: |
.... but the "OPEN" is taken from IBM's Manual on using DB2 predicates so I would think it would be right .......... |
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
