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
Why did you choose to work with ibm mainframe cobol programming?
What is the compute verb? How is it used?
Discuss about changing dataset name in proc.
What is a scope terminator give example?
how do you reference the ksds vsam file formats from cobol programs
Write a program that uses move corresponding.
how do you reference the variable block file formats from cobol programs
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is static and dynamic call in cobol?
Write a cobol program making use of the redefine clause.
What is the local-storage section?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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 Pic 9v99 Indicates in COBOL?
What is the Purpose of Pointer in the string?