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


Please Help Members By Posting Answers For Below Questions

What is dbrm? What it contains?

889


What is a bind card?

856


How many databases are there?

757


How would you find out the total number of rows in a db2 table?

767


What is node in db2?

787


What is a trigger in the db2 database?

777


How do I copy a table in db2?

742


Is ibm db2 open source?

790


What is the maximum size of a char data type in db2?

754


What is plan in cobol db2?

768


If I have a view which is a join of two or more tables, can this view be updateable?

887


How to view db2 table structure?

773


What are concurrency issues?

792


What is the latest version of ibm db2?

937


Mention the definition of cobol in varchar field.

867