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
Name a few IBM utility programs, and explain its function.
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
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) ?
How can the attributes of one sms dataset be copied to another dataset?
Can we use DISP=SHR in output file in JCL
what is DSN parameter and DISP parameter is used for?
I need exexution process for JCL programs
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
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?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
whats the diff bw the evaluate also and and?
What is the difference between run mode and addressing mode?