Can we declare cursor in Procudere division or open the
cursor in the Working storage section.
Is there any particular rules in the usage of cursors lifecycle
Answer Posted / omkar panda
yes we can declare cursor in procedure division but we cant
open the cursor in working-storage section as it is an
executabale statement.the lifecycle of cursor is as below
1>declare cursor
2>open cursor
3>fetch cursor
4>close cursor
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What are the contents of dclgen?
Can you use max on a char column?
How to create db2 table in mainframe?
How to find the number of rows in db2 tables?
What is db2 command?
What db2 400?
What is the max length of sqlca?
What is load utility in db2?
Is ibm db2 open source?
What is a db2 schema?
What is sqlca’s maximum length?
What is the difference between db2 and oracle?
What does db2 blu stand for?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?