Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
avoiding to submit same jcl for different parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: avoiding to submit same jcl for different parameters
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

Moderator Team Head


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

PostPosted: Thu Aug 18, 2005 7:05 am    Post subject: Re: avoiding to submit same jcl for different parameters
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    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Aug 19, 2005 2:25 am    Post subject: Re: avoiding to submit same jcl for different parameters
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us