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
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How can you get the ksds file records into your cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What the difference is between continue and next sentence?
Which is not true about evaluate statement
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is the compute verb? How is it used?
How do you define a variable of comp-1 and comp-2?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How do get the result of your program directly on your pc?
Why would you use find and get rather than to obtain?
What is the problem of ordered sequential files access?
how do you reference the rrds file formats from cobol programs