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

In cursor program perform para varying until 1 by 1
fetch para cursor------close para
in the blank what will come for confirming in the database?

Answer Posted / ekalavya

You can read the variables from SQLCA. For eg. you can
check SQLCODE.

Include SQLCA in the working storage of the progarm.

EXEC SQL
INCLUDE SQLCA
END-EXEC.

then check for the SQLCODE after your SQL query.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the benefits you can get from mainframe connect?

968


What is a db2 cursor?

1043


What is isolation level in db2?

994


How to execute stored procedure in db2 command editor?

1044


Differentiate between cs and rr isolation levels? Where do you specify them?

1064


What is netezza database?

1017


Explain about mirror activator disk mirroring?

1000


What does sqlcabc has?

1043


How do I add a column in db2?

1041


How do I create a view in db2?

1014


what is a corelated subquerry?

1119


What is load utility in db2?

1177


What is db2 command?

1028


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1073


What is ibm db2 used for?

1066