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

Write a cobol program making use of the redefine clause.

921


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8661


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7284


What are the pertinent COBOL commands?

2818


Describe the cobol database components?

879


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

961


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

962


Give some examples of command terminators?

936


Difference between cobol and cobol-ii?

936


What is comp-1 and comp-2?

932


How many bytes S(8) comp field occupy and its maximum value?

1845


What is rmode(any) ?

893


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

919


How do you define a variable of comp-1 and comp-2?

904


What is perform what is varying?

909