What is tne need to use sub programs in Cobol?
Answer Posted / naresh
reusability...........and subprogram can be used number of
times and call subprogram using 'call'
statement............inthis both supprogram and mainprogram
have same structure.........
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
For rewrite, why is it mandatory that file needs to be opened?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Name the sections present in data division.
what happens if parmparameter passes zero bytes to the program
Write the code to count the sum of n natural numbers.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How many sections are there in data division in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how do you reference the fixed unblock 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 cobol program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?