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
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.
Have you used comp and comp-3 in your project? And how?
Write the code implementing the perform … varying.
What is comp-1 and comp-2?
what are decleratives in cobol?
What is static and dynamic call in cobol?
What are the different rules for performing sort operation?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do you reference the following file formats from cobol programs?
What are the different rules of SORT operation?
What do you understand by psb and acb?
how to access the file from prodution from changeman tool and to submit a file to production
Mention the guidelines to write a structured cobol program?