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

the dd name for ksds is dest1 and what is the dd name for alternate index of ksds ? a.dest b.dest1 c.dest1a d.dd1

2 Answers   Logica CMG,


What is a storage group (stogroup)?

0 Answers  


how can i pull up a query which was previously stored in qmf

3 Answers  


Q3. How will you fetch duplicate values from a DB2 table?

2 Answers   RBS,


In a single table,How to retrieve a employee-id of an employee who works in more than one department?

15 Answers   Cap Gemini,


Can DB2 be accessed by TSO users? If yes, which command is used to invoke DB2?

1 Answers  


how can you copy records present in a flat physical file to a database file(physical file).please explain in rpg400 with a simple example

1 Answers   CTS,


Can we able to find all the Table names under a Particular Plan?

1 Answers   CTS,


How to create a table using embedded sql?

1 Answers  


What is buffer pool in the db2 database?

0 Answers  


How does DB2 use multiple table indexes?

1 Answers  


What action db2 takes when a program aborts in the middle of a transaction?

0 Answers  


Categories