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 is rmode(any) ?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Can you please let me know the centre name of INS certification in Kolkata.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How do define dynamic array in cobol.
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?
What rules are to be followed while using the corresponding options?
What is the difference between PIC 9.99 and 9v99 in COBOL?
what are decleratives in cobol?
Write down the divisions of cobol program?
How you can characterize tables in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?