Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between declaring the cursor in WS
section and Procedure division?



what is the difference between declaring the cursor in WS section and Procedure division?..

Answer / 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

More DB2 Interview Questions

Suppose if I need to update a column, how you do that using cursor?

2 Answers   Verizon,


EXPLAIN has output with MATCHCOLS = 0. What does it mean?

2 Answers  


how can u retrieve the data from null values using applicaion program.

3 Answers   TCS,


How would you move a tablespace (using STOGROUP) to a different DASD volume allocated to that tablespace?

1 Answers  


What are the three types of page locks that can be held?

1 Answers  


Can i insert bulk records into a db2 table using qmf of spufi only............!!!

2 Answers  


What is sqlca?

0 Answers  


What are the abend codes occour in ur latest PROJECT in DB2

2 Answers   Cap Gemini,


what is a trigger and types of triggers

3 Answers   HSBC,


How can we retrieve the total number of records in RPG & CLLE?

0 Answers  


What are column-name qualifiers used?

1 Answers  


can you use symbolic parameters in JOB?

5 Answers   IBM,


Categories