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: 6967
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: 6967
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 Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm


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