how many subpgms we can use in a main pgm ?
how do u link sub pgm to main pgm ?
how can i use the parameters declared in main pgm to sub pgm ?
Answer Posted / sen
Same as kiran said
But to get the parameters used in tha main program can be used by {procedure division using var-1,var-2} in the sub program
Eg if ur var name is ws-1 and ws-2
Then we can get values by
Procedure division using ws-1,ws-2.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the problem of ordered sequential files access?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How many bytes S(8) comp field occupy and its maximum value?
What is length is cobol?
How arrays can be defined in COBOL?
What are 77 levels used for?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is the difference between comp and comp-3 usage?
How many sections are there in data division in COBOL?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write the code implementing the perform … varying.
What the difference is between continue and next sentence?
how to access the file from prodution from changeman tool and to submit a file to production