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 / 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 |
Can we use select query in a loop to fetch multiple rows in a COBOL PROGRAM? If so, what is the advantage of cursor?
How can you quickly find out the number of rows updated after an update statement?
How to solved 818 error
4 Answers Keane India Ltd, Wipro,
What is the connection string to connect to the DB2 Database ?
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
Name the lockable units in DB2?
What is ACQUIRE/RELEASE in BIND?
What is a composite index and how does it differ from a multiple index?
What is the significance of DB2 free space and what parameters control it?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
select 100 records from million records ?
What do you mean by cursor?