For update of a row in cursors, when do we move value into
host variable in cobol progrm? is it before open or before
fetch ?
Answer Posted / tarun
The query in a cursor in executed only when the cursor is opened. Thus you have to move the values in the host variables before opening the cursor.
Is This Answer Correct ? | 8 Yes | 17 No |
Post New Answer View All Answers
What is bind and rebind in db2?
What are host variables in db2?
How do I add a column to an existing table in db2?
Explain various types of locks in db2?
Can you tell me how can you find out the # of rows updated after an update statement?
Mention the definition of cobol in varchar field.
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What are the contents of a dclmgen?
What is the syntax for FETCH in DB2 ?
What are the full forms of spufi and dclgen and why are they used?
Why cursor is used in db2?
What is a page in db2?
What is a db2 package?
What is drop table?
What is the default page size of buffer pools?