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 various types of locks in db2?

1150


What is the use of value function?

1150


Are view updateable?

1043


What is the difference between plan and package in db2?

1112


What is db2 catalog database?

1041


How connect db2 database to datastage?

1241


How to find the number of rows in a db2 table?

1120


How do I add a column to a table in db2?

1104


Explain how can you do the explain of a dynamic sql statement?

1125


What are the benefits of using the db2 database?

1229


How can you quickly find out the # of rows updated after an update statement?

1046


What is a trigger in the db2 database?

1080


How would the varchar column remarks defined?

1088


Is db2 relational database?

979


What is blu acceleration in db2?

1069