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

Answer Posted / manju

When the COMMIT stmt is issued, the cursor is atomatically
closed.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


What is report-item in COBOL?

711


What is the difference between comp and comp-3 usage?

681


What are various search techniques in cobol? Explain.

650


i want a program using by if, evaluate , string, unstring, perform, occurs?

4065






Why occurs cannot be used in 01 level in COBOL?

720


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

685


How arrays can be defined in COBOL?

665


Mention the guidelines to write a structured cobol program?

620


What is the difference between Call and a Link?

702


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2107


Difference between cobol and cobol-ii?

714


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

8660


what happens if parmparameter passes zero bytes to the program

1667


What are the different types of condition in cobol and write their forms.

660