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

Tool to submit some 100 jobs continuously


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suganyagv

New User


Joined: 11 Jun 2007
Posts: 1
Location: Chennai

PostPosted: Fri Aug 10, 2007 6:04 pm
Reply with quote

Hi,
I have to submit some 100 jobs continuously by ensuring each ran successfully with a particular return code before submitting the next job. I should be able to add or remove any particular job at any point of time and be in a position to change the threshold return code also.

Is there any tool available to satisfy this out. I am interested in building a tool in Rexx for this purpose. But before that I want to make sure that it is not available already.

Is Rexx suitable for such a tool.Any suggestions...
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 10, 2007 6:54 pm
Reply with quote

It sounds like you should be investing in a proper job scheduling system.

However, if you don't want to do that, you might want to take a look at some of the topics describing a similar situation:

ibmmainframes.com/viewtopic.php?t=17787
ibmmainframes.com/viewtopic.php?t=19775
ibmmainframes.com/viewtopic.php?t=20361

At some point, someone posted that they had developed a REXX-based job scheduling system. I can't locate that topic right now, so hopefully that member can contact you via PM and discuss the issue further offline.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Aug 10, 2007 6:55 pm
Reply with quote

There are a number of schedulers out there that should be able to meet this requirement. We use CA-7 here.
Back to top
View user's profile Send private message
Maverick34

New User


Joined: 19 Aug 2007
Posts: 4
Location: UK

PostPosted: Tue Aug 21, 2007 4:56 pm
Reply with quote

At a site where I worked I did this in Rexx. What I did was create a data set that had the job names in with a status, such as "waiting","submitted","executing","failed" or "finished".

At the start of your job you update the table to say "executing" and dependent on return codes from that job update the table again. The last step was to search through the table for "waiting" and submit that job.

The table could also include return code column which your code could check.

In my case I could also set the number of concurrent jobs I ran and even limit the total number of jobs, or stop them based on a time value.

In my case CA-7 wouldn't work due to the dynamic characteristics of the work flow.

Cheers

Maverick34
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top