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

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

Answer Posted / azharuddinsyed

No. In cobol-db2 program, the result of single select should be only one row.
For multi row fetch we must use cursor, else program will abend with -811 sql code.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is db2 restart?

2147


Explain the benefits you can get from mainframe connect?

969


How to find the number of rows in db2 tables?

1056


Can we delete records from view?

962


What is the maximum size of varchar data type in db2?

1125


Name the lockable units in DB2?

1124


What is the maximum length of sqlca?

1515


What is phantom read in db2?

1145


What is schema in db2?

1018


What does db2 mean?

1005


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

1150


What is reorg?

1148


Where do you specify them?

1265


What is package in cobol db2?

1113


How can record locking be achieved in those DB2 versions which do not support it?

1072