MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Running multiple jobs using single JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
priyaranjan.mishra
Beginner


Joined: 21 Jan 2008
Posts: 17
Topics: 9

PostPosted: Mon Apr 27, 2009 1:09 am    Post subject: Running multiple jobs using single JCL Reply with quote

I have a scenario wherein I have to run a cycle of more than 20 jobs in sequence. But the condition here is that before executing the next JCL, the return code for the previous JCL should be verified and only if it is <=4, the next JCL is executed. I tried it using IKJEFT01 but it will run all the JOBS irrespective of the return codes.
Any help on this is highly appreciated.
Back to top
View user's profile Send private message
mainframemouli
Beginner


Joined: 23 Feb 2005
Posts: 87
Topics: 33

PostPosted: Mon Apr 27, 2009 1:56 am    Post subject: Reply with quote

Please refer the 10th post of kolusu in the below link , might help you out.

http://www.mvsforums.com/helpboards/viewtopic.php?t=1637&highlight=jcl+sequence
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon Apr 27, 2009 12:45 pm    Post subject: Reply with quote

If you had searched you would have found a post by me which I reproduce here:
Quote:

I have a little thing I use: I have a dataset that describes the job relationship and then each job, before ending, executes a Rexx exec that queries that dataset and submits any jobs that are ready to rock'n'roll. Allows multiple predecessors / sucessors. It is quick and dirty but does the job - so to speak

_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group