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
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is inspect in cobol ?
how do you reference the ksds vsam file formats from cobol programs
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
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
Can we redefine the field of x(200) to less than 200?
What is the difference between comp and comp-3?
Write down the divisions of cobol program?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How are the next sentence and continue different from each other?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
how to refer the data field?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How to remove 2 duplicate records and copy only one using job control language?