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
A table has two indexes defined. Which one will be used by the SEARCH?
what is the use of outrecord?
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
Name the divisions, which are available in a cobol program?
Discuss about changing dataset name in proc.
What is the difference between structured cobol programming and object alternativelyiented cobol?
How are the next sentence and continue different from each other?
What are the different rules to perform a Search?
How do you reference the following file formats from cobol programs?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
When is inspect verb is used in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
Can you please let me know the centre name of INS certification in Kolkata.
What guidelines should be followed to write a structured cobol prgm?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?