Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

859


What is the use of intialize verb?

1239


What is length is cobol?

1097


What is difference between static and dynamic call in cobol?

1379


How do we get current date from system with century in COBOL?

1373


what happens if parmparameter passes zero bytes to the program

2125


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2462


How are the next sentence and continue different from each other?

1287


What is report-item in COBOL?

1149


) How do u handle errors in BMS macro

2035


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

1220


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


How do define dynamic array in cobol.

1123


What is perform what is varying?

1156


i want a program using by if, evaluate , string, unstring, perform, occurs?

4716