what happens if we dont close cursor in db2-cobol pgm?
Answer Posted / vaid
i think, if we dont close a cursor there will be no problem.
since once the program ends all the database
transaciton/connections are terminated and also commit is
implicitly executed.. so the cursors will be closed.
and all resources held by program will be released.
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
For rewrite, why is it mandatory that file needs to be opened?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is length is cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is an in line perform? When would you use it? Anything else you wish to say about it.
what is the difference between COBOL2 AND COBOL390?
What is the difference between Call and a Link?
What is a scope terminator give example?
State the various causes of s0c1, s0c5 and s0c7.
Explain how you can characterize tables in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
In COBOL, what is the different between index and subscript?