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 / chakri
Deepak if u want to make control go to program B from
Program A we can do it by using a CALL statement and same
way we can make control go to Program C from Program B . In
Program C we have to code GOBACK instead of STOP RUN so
taht control will return to Program B after the completion
of Program B and similarly we have to code GOBACK in
Program B so that control wil return to Program A but in
Program A we have to code STOP RUN as last statement.
I think its clear for u
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
How do u write test cases?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is comp-1 and comp-2?
how to access the file from prodution from changeman tool and to submit a file to production
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different rules of SORT operation?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are different data types in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different rules to perform a Search?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between comp and comp-3 usage?
Which mode is used to operate the sequential file?