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
what is use of disp parameter in dd statement?
how can you check if a file is empty using jcl?
What is timing concept in mainframe?
What happens if both JOBLIB & STEPLIB is specified ?
Is it possible to define dd statements as you want?
Explain in DD statement what is the use of DCB parameter?
what is DSN in JCL and what are the parameters to declare the DSN?
What are the utility programs in jcl?
Which statement is used to identify the private libraries in job?
which utility is used a dummy utility?
what is use of space parameter in dd statement?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How jcl work to handle various input output file operations?
Are there any set of rules for the names of the steps used in a job? What are they?
What dd statement is used to supply the name of a dataset?