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 you can characterize tables in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
What are the pertinent COBOL commands?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
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 do u handle errors in BMS macro?
Explain about different table spaces.
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 the difference between comp and comp-3 usage?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the LINKAGE SECTION used in COBOL?
Mention the guidelines to write a structured cobol program?
Discuss about changing dataset name in proc.