View previous topic :: View next topic
|
Author |
Message |
hyuzen
New User
Joined: 10 Jul 2005 Posts: 58
|
|
|
|
Hi all,
I need to submit same jcl -let's say- 30 times for different parameters each time. What do I have to do rather than submitting 30 times ?
Thanks in advance,
hyuzen |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Have the job submit itself at the end for the other 29 times, changing the parameters before doing so?
Submit 1 job that calls a single PROC in 30 steps, each time with different parameters?
(I really don't get your question) |
|
Back to top |
|
|
hyuzen
New User
Joined: 10 Jul 2005 Posts: 58
|
|
|
|
Hi,
To make my question clarify;
let's say, MYJOB001 is the job to be submited and A to Z can be used as parameters (26 different parameters).
I need to run MYJOB001 with the paramater A then I need to submit same jcl with the parameter B, then with C to Z.
Is it possible to run MYJOB001 26 times for each parameters of A to Z in a single submission ?
Thanks in advance,
hyuzen |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
JCL doesn't take parameters. JCL Procedures do, which is why I mentioned that in my previous post. How do plan you intend to introduce the values of A through Z to the job? Through a program? A dataset? A parameter list (PARMLIB)?
It would seem from your last post that job MYJOB001 will have to be submitted once for the first parameter, and then as the last step, modify itself to set the next parameter value, submitting itself if the parameter is less than Z, and ending when the last parameter is Z. |
|
Back to top |
|
|
|