what is the difference between declaring the cursor in WS
section and Procedure division?
Answer Posted / madhavi chava
As definition of cursor is non executable statement, it is
advisable not to define in procedure division as it may
misunderstood others.
we can define it any where only thing you have to take care
is definition of cursor should be prior to the OPEN
statement of the same cursor.
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What's The Percentage Free Space ?
How can you count the number of rows from a table tab?
What is explain plan in db2?
Can we delete records from view?
List down the types of triggers in the db2 database?
How does db2 sample database connect?
How to create backup table in db2?
What is the cobol picture clause of the db2 data types date, time, timestamp?
What is a collection in db2?
What is the function of logging in the db2 database?
What are foreign keys in db2?
Explain correlated sub-queries.
What is the usage of open cursor command?
How many databases are there?
What is host variable?