Page 1 of 1

sub sequence aborted but the main sequence didn't

Posted: Fri Dec 28, 2007 5:45 am
by major
Hi ,

While i am running the master sequence , a job in subsequence aborted but master sequence didn't aborted and finished fine.Any solution will be appreciated.

Posted: Fri Dec 28, 2007 7:20 am
by chulett
That's because the 'subsequence' didn't abort, I'd wager. That must happen first, then depending on the main Sequence design it could abort as well and all be restartable.

Re: sub sequence aborted but the main sequence didn't

Posted: Fri Dec 28, 2007 9:17 am
by deva
Hi,
Please verify your sequence design. use "uttility abort log" routine and set up the trigger correctly.

the result is if sub sequencer is fail your main sequencer also will fail
major wrote:Hi ,

While i am running the master sequence , a job in subsequence aborted but master sequence didn't aborted and finished fine.Any solution will be appreciated.

Re: sub sequence aborted but the main sequence didn't

Posted: Fri Dec 28, 2007 9:18 am
by deva
Hi,
Please verify your sequence design. use "uttility abort log" routine and set up the trigger correctly.

the result is if sub sequencer is fail your main sequencer also will fail
major wrote:Hi ,

While i am running the master sequence , a job in subsequence aborted but master sequence didn't aborted and finished fine.Any solution will be appreciated.

Re: sub sequence aborted but the main sequence didn't

Posted: Fri Dec 28, 2007 9:18 am
by deva
Hi,
Please verify your sequence design. use "uttility abort log" routine and set up the trigger correctly.

the result is if sub sequencer is fail your main sequencer also will fail
major wrote:Hi ,

While i am running the master sequence , a job in subsequence aborted but master sequence didn't aborted and finished fine.Any solution will be appreciated.

Re: sub sequence aborted but the main sequence didn't

Posted: Fri Dec 28, 2007 9:26 am
by thamark
Major,

Check if you have selected following property at the job sequence property level.

Automatically Handle Activities that fail.

Posted: Sat Dec 29, 2007 7:44 am
by chucksmith
Verify in your master sequence that the activity stage calling the sub sequence has a failed trigger and does NOT have an unconditional trigger.

The default trigger colors of DataStage Designer do not give enough visual clues. I suggest changing the wraning trigger to yellow, and the otherwise trigger to bright green.

After changing the colors, reopen your job and investigate your trigger settings.

Even if your sub sequence aborts, your master sequence may not abort unless you invoke a terminiation activity stage. However, you may not want your master sequence to abort if it is scheduled. Aborting leaves a sequence in a non-runnable state that must be reset before the scheduler will start it. I prefer the master sending an email when the sub sequence aborts, rather than aborting itself.

Posted: Wed Jan 16, 2008 11:54 pm
by major
I resolved it .Thanks for all