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?
What is db2?
What is bind in db2?
Define check constraint.
Explain about cursor stability?
Give the name of some fields form sqlca.
How is deadlock resolved?
What is the physical storage length of the data types date, time, and timestamp?
What is the maximum size of a char data type in db2?
What is dclgen (declaration generator)?
Is ibm db2 free?
Why do chiropractors use drop table?
Explain dclgen.
What is rebind in db2?
What is the latest version of ibm db2?