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?



In cursor program perform para varying until 1 by 1 fetch para cursor------close para in the blank..

Answer / 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

More DB2 Interview Questions

Define check constraint.

0 Answers  


How to create db2 table in mainframe?

0 Answers  


my project is insurance management system,how to explain my work environment in interview?

2 Answers   CGI, Value Labs,


Explain about mirror activator disk mirroring?

0 Answers  


Generally if I want to select the names starting with c I need to use c% But how could I code to select the data which contains % as a part of data.

5 Answers  


How to insert more than one record using insert?

7 Answers   Atos Origin, IBM,


what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the optimized access path but how or what is the steps for doing the EXPLAIN)

4 Answers   IBM,


what's the error code for Unique Index Violation?

2 Answers  


What is the maximum size of a char data type in db2?

0 Answers  


What is the syntax for seeing the columns and data types of a table in the db2 database?

0 Answers  


What is the physical storage length of the data types date, time, and timestamp?

0 Answers  


EXPLAIN has output with MATCHCOLS = 0. What does it mean?

2 Answers  


Categories