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 is amode(24), amode(31), rmode(24) and rmode(any)?

699


How you can read the file from bottom?

660


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

996


What is a scope terminator give example?

655






What is the difference between next sentence and continue in cobol programing language?

708


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


What type of SDLC u followed? Why?

1518


Can we redefine the field of x(200) to less than 200?

818


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1769


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8652


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


Explain how you can characterize tables in cobol?

636


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588