We have 3 programms A,B,C.In the middle of the program A
the controls goes to program B and in the middle of the
program B control wants to go program C,after completion of
program C again control comes to program B and again after
completion of program B control comes to program A.How the
process will takes and what are the controls we use for
that process.If it is possible anybody of you explain with
example?
Answer Posted / suresh ramaiyan
if it is a fully cobol program we can use the following
statement to pass the control to another program, which
will return the control to the next line of calling program.
A -> B -> C
In program A: call 'B'.
In program B: call 'C'.
EXIT PROGRAM.(instead of STOP RUN)
In program C: EXIT PROGRAM.(instead of STOP RUN).
if it is CICS program, we have to user LINK for getting the
control back to the calling program.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Can we change the password using ALTER? anyone tried and changed?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
i need a small 3d program using inline and outline.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How many bytes S(8) comp field occupy and its maximum value?
How to remove 2 duplicate records and copy only one using job control language?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Explain how to differentiate call by context by comparing it to other calls?
HOw can I get the negative sign while deduct high value from low value
What are all the divisions of a COBOL program?