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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
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.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the various section in data division and briefly explain them.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
how do you reference the fixed unblock file formats from cobol programs
What is perform what is varying?
Why occurs cannot be used in 01 level in COBOL?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you reference the esds vsam file formats from cobol programs
i need a small 3d program using inline and outline.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
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?
How many bytes S(8) comp field occupy and its maximum value?