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 bind parameters ibm db2?
What is host variable in db2 cobol?
How is a typical db2 batch pgm executed?
What is a system catalog table in db2?
What is buffer pool in the db2 database?
Define db2.
What is db2 bind?
How can you count the number of rows from a table tab?
How do I optimize a query in db2?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
What's The Error Code For Unique Index Voilation?
How do I start db2 in windows?
If I have a view which is a join of two or more tables, can this view be updateable?
What do you mean by cursor?
What are bind parameters in db2?