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 types of copies can be made with the COPY Utility ?
Mention the location where the output received from explain statement is stored.
why we go for SPUFI for creating tables or for sql queries?
What is host variable in db2 cobol?
How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
Explain an outer join?
How do you concatenate the firstname and lastname from emp table to give a complete name?
what is load and unload in db2
What is ACQUIRE/RELEASE in BIND?
what is the responsibility of the construction superintendent
What is consistency token in db2?
What are the disadvantages of using VARCHAR?