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 is with ur in db2?
List out the buffer pools in db2
What is bind plan?
What is performance tuning db2?
What is db2 command?
What is ibm db2 database?
Define sqlca.
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What is runstats utility in db2?
What is the difference between spufi and qmf?
What is a trigger in the db2 database?
What are the contents of a dclmgen?
What is a Foreign Key?
Is schema the same as database?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?