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
A dd statement consists of 4 fields. Name them?
Explain dfsort utility?
What is timing concept in mainframe?
Brief description of inline procedure of jcl.
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How is a type of file defined in the jcl that executes the cobol program?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
Is it possible to left uncode disp?
Name the statement which can be used to send data to another mvs jes3 node?
Explain the purpose of dd * statement in jcl?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
What are steplib and joblib? What for they are used?
how can you check if a file is empty using jcl?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Is condition checking possible in jcl?