View previous topic :: View next topic
|
Author |
Message |
Deepakgoyal2005
New User
Joined: 22 Mar 2007 Posts: 57 Location: India
|
|
|
|
I have a job with about 100 steps and need to break it down in several JCLs for more simplicity and flexibility.
There are certain steps which depends upon the RC of other steps due to which I am not able to think on a feasible solution.
Is it possible to create separate JCLs (irrespective of the dependencies among its steps) and execute any of the required step based on the RC of a step of other JCL.
Or is there any other better option to do the needful? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
That's what scheduling software is all about.
Talk to the people responsible for it about your requirement. Shouldn't be more than a couple of hours work for them. |
|
Back to top |
|
|
Deepakgoyal2005
New User
Joined: 22 Mar 2007 Posts: 57 Location: India
|
|
|
|
Hi Expat,
Thanks for the quick response.
1 Doubt:
By scheduling the jobs, they can be triggered one after the other.
But in case say Step 40 and step 50 needs to be executed it the RC of Step 10 = 4 and step 60 can be executed if the RC of Step 10 = 2.
I think in such case if we break the JCL into jobs with 10 steps each (irrespective of the dependencies among steps) we need to place some logic to take care of the dependencies of step 40, 50 and 60 upon RC of step 10.
I am looking out to tackle such scenario. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Like I said, your people responsible for the scheduling software should be able to work it all out and implement the solution based on the input given them. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
As expat says, your scheduling software (and those who use it, importantly) should be able to do what you want.
How you want to do it is still an open question.
You could do it as 100 single-step jobs. Or keeping steps in a job which are "more logical" to be together and create fewer new jobs.
If your site is big enough, you probably have people responsible for the JCL. Perhaps you only have the scheduling people. You need to find something which works for them, and for you. Tell your boss you want to talk to "whoever" and find out what they suggest, they find out what you suggest, and away you go. Technically, your scheduler can cope with any break-up of the large job that you require. Other things do come into it (ease of re-start/re-runs, on-line availability, backup schedule, etc). |
|
Back to top |
|
|
|