Hi all,
I am using Job activity in a Sequence. The sequence always succeed whether actual parallel job succeed or not. I am using IBM Tivoli Workload Scheduler for the scheduling process and I schedule the sequence (not the job) through Tivoli Workload Scheduler. I always getting the success status in the Tivoli, whether the parallel job failed or succeed.
According my requirement, if parallel job failed the sequence should also fail.
How I achieve it?
Thanks&Regards
--------------------
Tsamui
Sequence succeed when job fails
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 273
- Joined: Wed Oct 18, 2006 12:20 pm
- Location: Porto
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Check the Automatically Handle Activities that Fail check box prior to compiling the job sequence. If you have any explicit failure handling in the job sequence, make sure that it triggers something that a final check in the job sequence can detect and cause itself to fail (perhaps via the routine UtilityFatalToLog).
That said, let me state that I disagree 100% with that requirement. I believe that job control routines should be just that - in control. There are other ways to make schedulers aware that a particular course of action must be taken, such as existence or non-existence, or content, of specified files.
That said, let me state that I disagree 100% with that requirement. I believe that job control routines should be just that - in control. There are other ways to make schedulers aware that a particular course of action must be taken, such as existence or non-existence, or content, of specified files.
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.