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
 

 

Scheduling jobs based on return codes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
santosh.ambaprasad

New User


Joined: 08 Mar 2009
Posts: 16
Location: London

PostPosted: Thu May 14, 2009 1:26 am    Post subject: Scheduling jobs based on return codes
Reply with quote

Hi

Can some one please clarify me on this?

I have three jobs.... J1, J2, J3
Is it possible to schedule these jobs on TWS such that .........

If RC of J1 is 0 then J2 should be triggered
If RC of J1 is 4 then J3 should be triggered
If RC of J1 is 8 then batch should stop.

Actually we are in design phase of a project, and my design needs such scheduling logic. Please let me know if such scheduling is possible and is an acceptable approach?

Thanks
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 14, 2009 2:31 am    Post subject:
Reply with quote

yes such scheduling is possible,
but you may want to get with your ops people
to insure that they know how to implement.
Back to top
View user's profile Send private message
santosh.ambaprasad

New User


Joined: 08 Mar 2009
Posts: 16
Location: London

PostPosted: Thu May 14, 2009 3:40 am    Post subject: Reply to: Scheduling jobs based on return codes
Reply with quote

Ok thank you!
But is such type of scheduling a good practice?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 14, 2009 3:47 am    Post subject:
Reply with quote

If it is documented - in such a way that one can understand -
IMUO - yes.

A tool is a tool. you have programs, return codes, schedulers. use them.

but unfortunately this is site specific; depends on the standards.

others members of the forum will contribute based on their experience.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts DFHWS2LS return value divated CICS 4 Mon Nov 07, 2016 5:44 pm
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


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