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
Can you please let me know the centre name of INS certification in Kolkata.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the local-storage section?
How do we get current date from system with century in COBOL?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What rules are followed by the search verb.
Explain how you can characterize tables in cobol?
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
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
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.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
IF I mention stop run in CICS what happens?
What is amode(31)
What is inspect in cobol ?
How many bytes S(8) comp field occupy and its maximum value?