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


Please Help Members By Posting Answers For Below Questions

How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2343


Name the sections present in data division.

905


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1036


) what is the difference between AID and HANDLE AID?

1889


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

907


What is the difference between Call and a Link?

889


How do you differentiate between cobol and cobol-ii?

859


What is the difference between comp and comp-3?

895


What is rmode(24)

899


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2321


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

936


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2228


In COBOL, what is the different between index and subscript?

947


Define cobol?

1073


example for sub strings ? and refernce modifications whit output pls

2068