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
How do I add a column to an existing table in db2?
What is data manager?
What are packages in db2?
What is a db2 cursor?
Explain in detail about buffer manager and its functionalities?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
What is the difference between cursor and select statement?
How do you eliminate duplicate values in db2?
Is db2 a database?
What is concurrency?
What is buffer pool in the db2 database?
What are the 2 sqlcodes that are returned?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is cursor stability in db2?