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

What happens to a tablespace when its recovery infromation has been removed and a full recovery is no longer possible?

2 Answers  


what is the difference between where clause and having clause

2 Answers   IBM,


What is a db2 tablespace?

0 Answers  


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

1 Answers   CSI, CTS,


what is plan? is plan executable or package?

4 Answers  


What is ALTER ?

3 Answers  


DB2: A calls B once sucessfull and second time when it calls says curson is open why is it so?

1 Answers   IBM,


What is meant by isolation level?

3 Answers  


What is image copy?

1 Answers   Virtusa,


What is a data page?

1 Answers  


What is the default page size of buffer pools?

0 Answers  


If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?

2 Answers  


Categories