can u execute a proc from another proc?

Answer Posted / manikandan

hi all here is code for invoking proc within anothr proc

//proc1 proc
//step1 exec pgm=pgm1
//step2 exec pgm=pgm2
//step exec proc1
// pend
//*********below proc2 i invoke proc1***********
//proc2 proc
//step3 exec pgm=pgm3
//step4 exec pgm=pgm4
//step exec proc1
// pend


let me know any wrong from above

thank u

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to left uncode disp? If yes, how?

706


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2172


Is it possible to left uncode disp?

713


What is multithreading in jcl?

940


How to run cobol program using jcl?

650






what is use of dsn parameter in dd statement?

670


I need exexution process for JCL programs

1851


Explain the purpose of dd dummy statement?

671


Explain the function of a dd statement?

659


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

718


Explain dd statement in jcl?

644


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8676


how do you code a null statement?

780


Name a few IBM utility programs, and explain its function.

4440


How can a fb file convert to vb file using sort program?

807