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 

Scheduling problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Deepthi
Beginner


Joined: 20 Aug 2005
Posts: 27
Topics: 6
Location: MN

PostPosted: Fri Jan 22, 2010 5:31 am    Post subject: Scheduling problem Reply with quote

I have a sequence of jobs to be scheduled which can run maximum 3 times a day.

For example -
if File A arrives, it shud kick off Job1 and a set of common jobs say grouped as COMJOB
if file B arrives, it shud kick off Job2 and COMJOB
if file C arrives, it shud kick off Job3 and COMJOB


If there is a file B, then Job2--> COMJOB shud wait for job1-->COMJOB to complete
If there is a file C, then Job3--> COMJOB shud wait for job2-->COMJOB to complete
i.e, File A, File B and File C cycles shud not run simultaneously.

On any given day, there can be just the file A or (File A and File B) or (File A and File B and File C).

Next day's cycle for file A shud not trigger until previous days cycles are complete. However, since its not sure that everyday we can have 3 cycles, we cannot have the dependency on the last job.

Can anyone suggest a good way of scheduling this requirement?

Scheduler is COntrol M.
_________________
Thanks,
Deepthi.

Our lives begin to end the day we become silent about things that matter.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jan 22, 2010 4:10 pm    Post subject: Reply with quote

Deepthi,

Create a single job which would validate the type of file received and it would kick of COMJOB. By doing this , it would ensure the cycle is completed before the new cycle kicks in.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Mon Jan 25, 2010 2:13 pm    Post subject: Reply with quote

Quote:

However, since its not sure that everyday we can have 3 cycles, we cannot have the dependency on the last job.


CA scheduler has option to wait for a job only if it is supposed to run that day. I guess something similar would be there for control M too.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming 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