Notification activity synchronous issue.

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
bj_ds7
Premium Member
Premium Member
Posts: 32
Joined: Fri Dec 13, 2013 2:26 pm

Notification activity synchronous issue.

Post by bj_ds7 »

In our job design we need to terminate a sequence if a job fails. Also we need to receive mail notification that the job is failed. The sequencer is implemented in the following manner.

Code: Select all

<jobactivity>-----------link1---( failed- conditional)------<notify>
             \-------link2( failed- conditional)-----<terminate>
Issue here is when the job fails, its trigger terminates the activity first and doesn't send the notification mail..

I tried a different scenario

Code: Select all

<jobactivity>----------link1( failed- conditional)----<notify>
             \-------link2( failed- conditional)- <excutecommand  (sleep 10)> ----<terminate>
Still the same issue. Could you please let me know how to synchronize the triggering mechanism in this scenario?
Thanks & Regards!
BJ
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

Try

Job Activity -> Conditional Failure link -> Notification Activity -> Unconditional link -> Terminate
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
Post Reply