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

How do you run JCL in cobol program

1 Answers   IBM, Syntel,


what is a plan and how do you refer the plan in the program?

2 Answers   Xansa,


I use CS and update a page. Will the lock be released after I am done with that page?

2 Answers  


How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)

2 Answers  


can i code union in cobol-db2 pgm ?

4 Answers   Patni,


What is the information associated with sysibm.syslinks table?

0 Answers  


How do I copy a table in db2?

0 Answers  


What is the purpose of using commit?

0 Answers  


What are the disadvantages of using VARCHAR?

3 Answers  


What is blu acceleration in db2?

0 Answers  


Define sqlca.

0 Answers  


How to connect to db2 database from windows command line?

0 Answers  


Categories