DSLogFatal using in a sequencer
Posted: Fri Aug 13, 2010 5:23 am
Hi,
I have a sequencer (s1) calling the job activity J1.
If the job J1 fails it invokes another sequence SS2.
SS2 has a job to capture the error details for audit, and then a routine to fail the calling sequence S1
when the Sequencer S1 was run, J1 failed and SS2 was invoked. Then SS2 failed due after the routine execution. But the job name passed to the routine was S1. I wanted to make S1 fail.
the DS LogaFatal is used as below in the routine.
Call DSLogFatal('Abort Routine Called: ': AbortReason : ' (job stopped until resolved)',JobName)
Ans = 1
Please help me on this
I have a sequencer (s1) calling the job activity J1.
If the job J1 fails it invokes another sequence SS2.
SS2 has a job to capture the error details for audit, and then a routine to fail the calling sequence S1
when the Sequencer S1 was run, J1 failed and SS2 was invoked. Then SS2 failed due after the routine execution. But the job name passed to the routine was S1. I wanted to make S1 fail.
the DS LogaFatal is used as below in the routine.
Call DSLogFatal('Abort Routine Called: ': AbortReason : ' (job stopped until resolved)',JobName)
Ans = 1
Please help me on this