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 is the difference between comp and comp-3?

704


how do you reference the fixed unblock file formats from cobol programs

719


What is the Purpose of POINTER Phrase in STRING command in COBOL?

729


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

666


what happens if parmparameter passes zero bytes to the program

1671






How do you get the data to code the BMS macro?

1482


) How do u handle errors in BMS macro?

1435


what are decleratives in cobol?

1831


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

1600


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

639


how to convert the recors form vsam file to db2 table tru file aid

2767


Write a program that uses move corresponding.

685


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17068


In COBOL, what is the different between index and subscript?

769


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?

6847