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 / kiran
There is no limit.... we can write n number of sub programs
in main pgm.
by using linkage section in data division in sub program
by using IS GLOBAL keyword
ex 01 name pic x(10) IS Global
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the various section in data division and briefly explain them.
what happens if parmparameter passes zero bytes to the program
Which Search verb is equivalent to PERFORM…VARYING?
Can a Search can be done on a table with or without Index?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Write a program that uses move corresponding.
What are the access modes of START statement?
What are the pertinent COBOL
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is comp-1 and comp-2?
What is redefines clause in COBOL?
) How do u handle errors in BMS macro?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?