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 |
What do you need to do before you do EXPLAIN ?
How could one combine a set of incremental image copies into a single copy?
Which is faster delete or truncate?
insert into tablename a column1, column2 select column1, column2 from tablename b i am getting abend -104..can any one help?
What is plan in cobol db2?
A Table feild is declared as Decimal(7,2). I want to insert the decimal in to this column thru cobol-db2 program. How should I declare my local input file variable or any suggestion?
why db2 is called as universal database?what is the storage capacity of db2v9 n what are the advantages of db2
Explain transactions, commits and rollbacks in DB2.
What is the physical storage length of time data type?
What is the use of db2?
how do we solve soc 7 and soc4 ?
How to find the maximum value in a column in the db2 database?