View previous topic :: View next topic
|
Author |
Message |
suganyagv
New User
Joined: 11 Jun 2007 Posts: 1 Location: Chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
There are a number of schedulers out there that should be able to meet this requirement. We use CA-7 here. |
|
Back to top |
|
|
Maverick34
New User
Joined: 19 Aug 2007 Posts: 4 Location: UK
|
|
|
|
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 |
|
|
|