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 to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how do you reference the variable block file formats from cobol programs
Write down the divisions of cobol program?
Discuss about changing dataset name in proc.
What is amode(31)
Which Search verb is equivalent to PERFORM…VARYING?
Are you comfortable in cobol or jcl?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
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
Can a Search can be done on a table with or without Index?
how can i see junk values in dclgen or in hostvariable of comp ?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
In which area will you utilize 88 level items in cobol?
Name some of the examples of COBOl 11?
In COBOL programming, what is PERFORM? What is VARYING?