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 difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Are you comfortable in cobol or jcl?
Can a Search can be done on a table with or without Index?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What are the different types of condition in cobol and write their forms.
how do you reference the rrds file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
) How do u handle errors in BMS macro?
What is difference between static and dynamic call in cobol?
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
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is rmode(24)
what is the use of outrecord?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc