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 Usergroups Profile Log in to check your private messages Log in
 

 

Execute a job based on RC of a step in other job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Deepakgoyal2005

New User


Joined: 22 Mar 2007
Posts: 57
Location: India

PostPosted: Tue Jul 19, 2011 10:33 pm    Post subject: Execute a job based on RC of a step in other job
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 19, 2011 10:39 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Deepakgoyal2005

New User


Joined: 22 Mar 2007
Posts: 57
Location: India

PostPosted: Tue Jul 19, 2011 10:51 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 19, 2011 10:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Wed Jul 20, 2011 12:02 am    Post subject: Reply to: Execute a job based on RC of a step in other job
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am


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