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 can you get the ksds file records into your cobol program?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Why did you choose to work with ibm mainframe cobol programming?
Which mode is used to operate the sequential file?
how can i see junk values in dclgen or in hostvariable of comp ?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is Pic 9v99 Indicates in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
What is rmode(any) ?
how to refer the data field?
what is the use of outrecord?
How do get the result of your program directly on your pc?