MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JOBTRAC:Schedule a job based on return code of previous job

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
deepatred
Beginner


Joined: 29 Nov 2005
Posts: 19
Topics: 6

PostPosted: Wed Jan 03, 2007 1:25 am    Post subject: JOBTRAC:Schedule a job based on return code of previous job Reply with quote

Hi,

We have a requirement to schedule a job based on the retun code of previous job, is this possible in JOBTRAC?

For eg:

Job1 --> Job2 ---> Job3 ---> Job4

Now Job1 has a last step which returns a code 5 if a file is empty and 2 if not empty.

So if return code of Job1 is 5 we want the schedule to be

Job1 ---> Job4 i.e. skip Job2 and job3

Is this possible in jobtrac?
Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun Jan 14, 2007 4:39 am    Post subject: Reply with quote

this kind of activity is almost a prerequisite for a scheduler.

since jobtrac is at your site, you should have documention, suggest you read it and determine how.

why do you not ask your operations dept?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group