View previous topic :: View next topic
|
Author |
Message |
sreenivasreddyg
New User
Joined: 23 Apr 2005 Posts: 39 Location: delhi
|
|
|
|
I want to schedule a job such that it should run after the 5 minutes from the start of another job.
Suppose, if job 'X' runs at 12:00AM then my job 'Y' should run at 12:05AM. If job 'X' runs at 11:00AM then my job 'Y' should run at 11:05AM.
Please let me know how this is possible using CA-7 |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
Can we know why you are waiting for 5 minutes time gap?
As per my knowledge, CA7 is not having any option to do this.
You need to write one program to capture timings in Job X & create a control card dynamically to trigger that job Y using SASSTRLR after after 5 minutes. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Before that can I know the business need for doing so? Why the gap of five minutes? |
|
Back to top |
|
|
sreenivasreddyg
New User
Joined: 23 Apr 2005 Posts: 39 Location: delhi
|
|
|
|
The first job will set an Indicator in the database to "Y" and we need to start after the indicator is set. The first job runs for 2 hours and we don't need to wait until the completion of that job for triggering the second job. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
I am not aware if CA7 has such facility.
But What I would have done in this case is Create one dataset when you make your indicator to "Y".
Make second job as dataset triggered. At the end of this job delete this dataset. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
why not make the step that sets the indicator a separate job. ?
Gerry |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
As gcicchet mentioned ...
That's exactly the only way it should be done !!! |
|
Back to top |
|
|
|