Hi,
I have this sequencer which kicks off several jobs. I need a routine (let's call it SendWarning()) to be called if the said sequencer runs for more than 7 minutes. Any suggestion as how this could be done?
Put a timer on a sequencer
Moderators: chulett, rschirm, roy
Put a timer on a sequencer
from SPA_BI
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Is the sequencer an "any" or "all" sequencer?
Possibly, downstream of the sequencer, you need to create a loop for each job, that iterates for no more than your specified interval, sleeping (or napping) for small intervals in between checking whether the job's status is still "running". Suggestion: make the interval a parameter; if you hard code it Murphy's Law says you'll need to change it.
Possibly, downstream of the sequencer, you need to create a loop for each job, that iterates for no more than your specified interval, sleeping (or napping) for small intervals in between checking whether the job's status is still "running". Suggestion: make the interval a parameter; if you hard code it Murphy's Law says you'll need to change it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.