what happens if we dont close cursor in db2-cobol pgm?

Answer Posted / i go crazy

If the cursor is declared WITH HOLD option, then after committing cursor will not close. Otherwise cursor will close automatically after committing or after the end of the program.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of error is trapped by on size error option?

740


HOw can I get the negative sign while deduct high value from low value

1790


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

710


Why did you choose to work with ibm mainframe cobol programming?

631


What is length is cobol?

650






What is the difference between perform … with test after and perform … with test before?

883


How to know whether the module is dynamical or statistical?

656


What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


what happens if parmparameter passes zero bytes to the program

1667


Mention the guidelines to write a structured cobol program?

620


How do you reference the fixed block file formats from cobol programs

705


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

8655


Write the code implementing the perform … varying.

646


Write a program to explain size error.

677