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 ?
Joined: 26 Apr 2004 Posts: 4650 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.