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 is the purpose of using commit?

0 Answers  


What does a deadlock mean in DB2?

0 Answers  


What is an alias and how does it differ from a synonym?

3 Answers  


Where would you find information about the type of database authority held by the user?

2 Answers  


What is ibm db2 client?

0 Answers  






how to resolve -811 error. give clear explination

4 Answers   IBM,


what is the process of precompiler?

2 Answers  


What are db2 tables?

0 Answers  


When would you prefer to use VARCHAR?

3 Answers  


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

2 Answers  


what is differnece between DROP TABLE & DELETE TABLE .

4 Answers   Cap Gemini,


When one binds a PACKAGE ( of a plan ) what package information is stored and where it is stored?

3 Answers  


Categories