hello all,
I have a job design of a sequencer S1 in which i am using one parallel job J1 and one sequencer S2 (audit job +abort routine). incase the job J1 fail, i trigger the sequencer S2, which in turn call one audit job followd by abort routine.
when i run the sequecer S1 , incase of failure of job J1 the sequencer S1 is not aborting.
can any one please tell me why it is happening. n
in abort routine i am using call DSLogFatal("MSG", Sequecer S1), still it is only aborting the audit sequencer S2 not the main sequencer S1
Please suggest any other way to do this if this is not the correct approach.
Thanks & Regards,
Abort a sequencer using a server routine
Moderators: chulett, rschirm, roy
Abort a sequencer using a server routine
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
-
- Premium Member
- Posts: 385
- Joined: Wed Jun 16, 2004 12:43 pm
- Location: Virginia, USA
- Contact:
In the S1 sequence, use the a failed trigger from the JobActivity stage that runs the S2 sequence. The failed trigger can be connected to a TerminatorActivity stage, or to a RoutineActivity stage that calls DSLogFatal.
The second argument of DSLogFatal() is just text that appears in the log. It does not indicate another job or sequence name to terminate.
The second argument of DSLogFatal() is just text that appears in the log. It does not indicate another job or sequence name to terminate.
Chuck Smith
www.anotheritco.com
www.anotheritco.com
cann't i call the abort routine in the sequencer S2 to abort the sequencer S1. is this not possible.chucksmith wrote:In the S1 sequence, use the a failed trigger from the JobActivity stage that runs the S2 sequence. The failed trigger can be connected to a TerminatorActivity stage, or to a RoutineActivity stage that calls DSLogFatal.
The second argument of DSLogFatal() is just text that appears in the log. It does not indicate another job or sequence name to terminate.
Thanks
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
-
- Premium Member
- Posts: 385
- Joined: Wed Jun 16, 2004 12:43 pm
- Location: Virginia, USA
- Contact:
In sequence S1, having a Failed trigger coming from the JobActivity stage that runs sequence S2 will make your S1 sequence aware of the fact that S2 failed. What you do as a result of the Failed trigger firing is up to you. We have previously mentioned the TerminatorActivity stage and the DSLogFatal routine as options you should investigate. One or both should do what you asked.
Chuck Smith
www.anotheritco.com
www.anotheritco.com