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
What is explain in db2?
What are the 2 sqlcodes that are returned?
What is db2 bind?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
Is db2 a mainframe?
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What os does db2 run on?
Explain the contents that are a part of dclgen.
What is the use of value function?
What is null value in db2?
What does reorg do in db2?
Are view updateable?
What is lock escalation in db2?
What is meant by dclgen?
What is the difference between cursor stability and repeatable read isolation levels?