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 |
How we create a tables in DB2 ?Previously client has using 7 letters for user id,now he wants to increase the letters from 7 to 12 for user id.How we can do it?
Define sqlca.
What is the command used by TSO users to invoke DB2?
where can we use index and subscript ? with example ?
cursor with hold explain ?
What is isolation level?
What is the maximum length of sqlca?
I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?
How can you get the number of rows impacted by the last executed query?
Explain package in db2 and its advantages?
What is reorg in DB2
What are the abend codes occour in ur latest PROJECT in DB2