Hi,
I want to write a sequencer which ivokes a exception handler when a job fails and continues to run the next job.
setting trigger to uncoditional in job1 is of no help as once the control moves to exceptional handler it doesnot goto job 2
handle exceptions and continue
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
I don't think its possible with the global exception handler. You will have to explicitly handle the errors and continue to the next job. i.e. on the job activity trigger expression type = Unconditional, you will need to handle the exception using a routine or execute command activity and then continue to the next job or activity from there.
You need repeat this after every job activity.
You need repeat this after every job activity.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You might want to, but it can't be done, as was observed. In your case, you can have a second trigger from each job activity to handle reporting of the problem (use a custom trigger, Activity.$JobStatus <> DSJS.RUNOK).
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.