IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

avoiding to submit same jcl for different parameters


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Thu Aug 18, 2005 2:02 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Aug 18, 2005 7:05 am
Reply with quote

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
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Fri Aug 19, 2005 1:58 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Aug 19, 2005 2:25 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts passing symbolic parameters through d... JCL & VSAM 3
No new posts How to submit multiple jobs with parm... JCL & VSAM 3
Search our Forums:

Back to Top