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

How to retrieve rows from a db2 table in embedded sql?

816


What is the difference between cursor stability and repeatable read isolation levels?

749


Name the lockable units in DB2?

735


What is coalesce in db2?

743


What is the difference between oracle and db2?

647






If I have a view which is a join of two or more tables, can this view be updateable?

764


What does runstats do in db2?

665


Which component is responsible for processing sql statements and selecting access paths?

738


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

1961


What is the physical storage length of timestamp data type?

709


What is drop table?

641


Is the primary key a clustered index?

702


What is the advantage in De-normalizing tables in DB2?

812


Explain dclgen.

787


What is the difference between cursor and select statement?

683