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
How to print 10 to 1 if the input have only 10 digit number?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro
Name the divisions, which are available in a cobol program?
what are decleratives in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
what is amode(24), amode(31), rmode(24) and rmode(any)?
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 ......
how do you reference the variable block file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do you define single dimensional array and multidimensional array in your cobol?
Which is not true about evaluate statement
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what is difference between cobol and cobol/400