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.
Answers were Sorted based on User's Feedback
Answer / ramesh
Rather I say ,Specofically, It will be Identified at Pre
compilation of your COBOL - DB2 source code.
Is This Answer Correct ? | 0 Yes | 4 No |
Answer / 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 |
What is cloudant database?
what is a collection?
What is buffrpool? Where we use it ?
What is the purpose of the DSNC transaction ?
What is a db2 cursor?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What db2 400?
What happens to a cursor after a commit?
What is runstats db2?
What is the logical entity between plan and Package?
How can deadlocks be resolved?
How to find the maximum value in a column in the db2 database?