Hi,
I have a job sequence where there are 10 jobs running in parallel and all of them need to run even in case some of them fails. How do I send out email notification only for the jobs that failed during execution? Is there a way in Datastage I can acheive this?
Appericiate your time and thanks in advance.
Thanks.
Email notification for failed jobs in job sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you use Failure triggers, you can bring them together using a Sequencer.
If you don't use Failure triggers, the activity variables for each job activity continue to be available downstream, so you can combine them with a logical expression (for example in a nested condition activity) ahead of generating the email.
If you don't use Failure triggers, the activity variables for each job activity continue to be available downstream, so you can combine them with a logical expression (for example in a nested condition activity) ahead of generating the email.
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.
Out of curiousity, have you actually tried it and seen what a failure email looks like? I really wouldn't call it "too much information" and I haven't seen anyone who found it any kind of confusing. Saves a lot of shenanigans compared to building "only the failures" in an email and hope you're not dismissing it out of hand without actually ever having seen one.xch2005 wrote:The option would work for sure but here the requirement is to send out only 1 email notification and that would have the failed job names. If I include the job status in email option that would contain too much information and the users are not really interested for it.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers