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 / swati

If Sub-Program executtion is terminated,cursor is
automatically closed.

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are various search techniques in cobol? Explain.

650


What are the cobol coding sheets?

668


What is a scope terminator give example?

659


Difference between array and sub-script ?

1170


how do you reference the variable block file formats from cobol programs

690






What are the different data types in cobol?

801


how can i see junk values in dclgen or in hostvariable of comp ?

2546


Name the divisions, which are available in a cobol program?

687


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

692


What is comp-1 and comp-2?

766


When is inspect verb is used in cobol?

679


What rules are followed by the search verb.

640


Write a program to explain size error.

679


What guidelines should be followed to write a structured cobol prgm?

675


How do you differentiate between cobol and cobol-ii?

658