what happens if we dont close cursor in db2-cobol pgm?
Answer Posted / vinodquestion
I am not confident about this answer::
I think no problem when u not close cursor. But problem occurs when you again OPEN CURSOR.
When this happen some cursor related errors occurs. I think 502 will show. I Dont know exactly.
Please Correct My answer if it is wrong.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are 77 levels used for?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what happens if parmparameter passes zero bytes to the program
What is amode(24)?
How do you define a variable of comp-1 and comp-2?
How are the next sentence and continue different from each other?
Are you comfortable in cobol or jcl?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How many bytes S(8) comp field occupy and its maximum value?
What is rmode(any) ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
For rewrite, why is it mandatory that file needs to be opened?
Write a cobol program making use of the redefine clause.