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 |
I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..
What are the prerogatives?
What is the difference between IN subselects and EXISTS subselect?
how do we solve soc 7 and soc4 ?
One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and packages will created?
what is the use of commit ? and what is the syntax?
How Plan is created while executing the query using SPUFI?
What is the use of reorg in db2?
What is FREEPAGE and PCTFREE in TABLESPACE creation?
how to fetch first 100 rows in db2
What can the Locate option of the Repair Utility accomplish?
What is ibm db2 client?