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
What are the different open modes available in cobol?
What is comp-1 and comp-2?
Whats the difference between search & search ALL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to use the same COBOL program in Batch and CICS on lines? explain with an example
what is search and searchall?what is the diffrence between them?give an best example?
What are the pertinent COBOL commands?
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...)
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the different rules to perform a Search?
What is the use of intialize verb?
How to print 10 to 1 if the input have only 10 digit number?
What is the problem of ordered sequential files access?
) what is the difference between AID and HANDLE AID?