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
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?
Can you please let me know the centre name of INS certification in Kolkata.
What is report-item in COBOL?
What are the various section in data division and briefly explain them.
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)?
State the various causes of s0c1, s0c5 and s0c7.
Give some examples of command terminators?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between binary search and sequential search?
What are the pertinent COBOL commands?
What is the use of intialize verb?
What is the difference between Call and a Link?
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?