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
How do get the result of your program directly on your pc?
What are the cobol coding sheets?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are different data types in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what are decleratives in cobol?
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the printer file formats from cobol programs
Which mode is used to operate the sequential file?
What is the compute verb? How is it used?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the usage of comp fields in cobol?
Write some characteristics of cobol as means of business language.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly