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 / 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 |
my project is insurance management system,how to explain my work environment in interview?
What information is contained in a SYSCOPY entry?
is it compulsory commitment control in journal?
What is the difference between CS and RR isolation levels?
How do you insert a record with a nullable column?
What is the difference between IN subselects and EXISTS subselect?
Write a query to retrive partial string.
How to fetch the uncommited data from table ?
Is it possible using max on a char column?
how many bytes timestamp token occupies?
6 Answers Boss Global, Cap Gemini, TCS,
How to take backup of table in db2?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?