Cursors can be declared in both working-storage & procedure
division, Agreed.
But is there any difference? If could you please suggest
what is the difference.
TIA

Answer Posted / sathish

This can be declared in both the sections. But not sure
what is the diff.

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2322


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

7506


What is a db2 collection?

603


What is the difference between using bind () and rebind () methods of naming class?

788


What do you mean by rollback?

572






List out the buffer pools in db2

626


When do you specify the isolation level?

607


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1710


Where can you declare a cursor in a cobol-db2 program?

602


What are union and union all?

537


What is a cursor in programming?

594


What is netezza database?

573


What is phantom read in db2?

636


What is an instance database?

598


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

712