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 is check constraint in db2?
What is consistency token in db2?
What is null indicator in db2?
What is the use of dclgen in db2?
What is the physical storage length of timestamp data type?
Is the primary key a clustered index?
How do we specify index to include or not during bind process.
Why select is not preferred in embedded sql programs?
What is runstats utility in db2?
Name the lockable units in DB2?
What happens in bind step in a db2 program?
What is coalesce in db2?
What is package in cobol db2?
What is access path in db2?
How many types of page locks can be held in db2?