Hi Team,
Please tell me, If i don't declare the cursor in the program
and i have given open and fetch and close, then what error
will get.
Answer Posted / dharani
Db2 return code would be -504 since the cursor is not
declared.
-501 - cursor not opened
-502 - opening cursor which is already opened
-503 - update column not specified in cursor while
declaring the cursor for updating some of the columns in
the table.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Where can you declare a cursor in a cobol-db2 program?
Explain in detail about buffer manager and its functionalities?
What is the difference between cursor and select statement?
How many databases can be created inside an instance in db2 ?
What is db2 connect?
What is deadlock in db2?
Explain the function done by data manager?
What is a page in db2?
Explain about mirror activator disk mirroring?
What is phantom read in db2?
What is dbrm?
What is null in db2?
What is the physical storage length of the data types date, time, and timestamp?
How to find the number of rows in a db2 table?
If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2