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
How to print 10 to 1 if the input have only 10 digit number?
how do you reference the variable unblock file formats from cobol programs
What guidelines should be followed to write a structured cobol prgm?
How you can read the file from bottom?
how do you reference the printer file formats from cobol programs
Give some examples of command terminators?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
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.
What is a SSRANGE and NOSSRANGE?
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between next sentence and continue in cobol programing language?
how do you reference the fixed unblock file formats from cobol programs
How do you get the data to code the BMS macro?
In COBOL programming, what is PERFORM? What is VARYING?
what is s000 u4087 error? please give the all error codes in cobol,jcl.