I have a Main Program which is calling Sub-Program which is
a DB2 pgm. What will happen if I am not closing the cursor
used in the Sub-program? Please advise..
Answer Posted / abirami
If you do not close the cursor it might give warnign
message, But it will not fail, When you try to open next
time it will give error that cursor is already opened, and
you are tryign to open the same
Is This Answer Correct ? | 0 Yes | 13 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
What is perform what is varying?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the pertinent COBOL
Which is not true about evaluate statement
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Which mode is used to operate the sequential file?
What is the difference between external and global variables in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
What are the different rules of SORT operation?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is amode(24)?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?