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
How arrays can be defined in COBOL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How you can characterize tables in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
In which area will you utilize 88 level items in cobol?
how do you reference the ksds vsam file formats from cobol programs
What the difference is between continue and next sentence?
What is the use of intialize verb?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are the cobol coding sheets?
What is report-item in COBOL?
what is the difference between COBOL2 AND COBOL390?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
how do you define single dimensional array and multidimensional array in your cobol?