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...


For update of a row in cursors, when do we move value into
host variable in cobol progrm? is it before open or before
fetch ?

Answers were Sorted based on User's Feedback



For update of a row in cursors, when do we move value into host variable in cobol progrm? is it be..

Answer / azharuddinsyed

in Open, the sql query you have coded in declare cursor will be executed.
in Fetch, the table column values will be moved to corresponding host variables.

Is This Answer Correct ?    0 Yes 0 No

For update of a row in cursors, when do we move value into host variable in cobol progrm? is it be..

Answer / tarun

The query in a cursor in executed only when the cursor is opened. Thus you have to move the values in the host variables before opening the cursor.

Is This Answer Correct ?    8 Yes 17 No

Post New Answer

More DB2 Interview Questions

how do u update the faltfile into db2 table ?

4 Answers   RBS, TCS,


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

0 Answers  


Can one database have multiple instances?

0 Answers  


Can you use a select query in a loop to fetch multiple rows? If so what is the advantage of using a cursor?

2 Answers   L&T, UST,


I have a table(product),It contain fields(productname,cost). I want to retrieve the product name ,which cost is second maximum in the table?

10 Answers   Fidelity,


Is db2 relational database?

0 Answers  


What is db2 and what is the use of db2 optimizer?

0 Answers  


how do you resolve -818 error in db2. where we have to see time stamp token. i said by seeing in load module and plan .is it correct or not. give clear explination for how to see time stamp token

2 Answers   IBM, TRD,


Return code 100 means?

6 Answers   Cap Gemini,


What is a Cartesian product?

2 Answers  


What's The Error Code For Unique Index Voilation?

0 Answers   IBM,


which SQL comment successfully removes uncommitted changes from a DB2 database A) rollback B) delete C) drop D) decommit

2 Answers   Accenture, Wipro,


Categories