Email Notification
Moderators: chulett, rschirm, roy
Email Notification
I know there is that stage in job sequencer that sends an email, but I was wondering if there is somewhere to set up email notification if the job fails?
-
- Premium Member
- Posts: 103
- Joined: Tue Oct 14, 2003 4:07 am
Re: Email Notification
You mean somewhere other than by using a Sequencer? There are a couple of options. An Enterprise Scheduler (like Control-M) can do that as part of its ability to run applications like DataStage jobs, but you are better off having it run Sequence jobs - and then you might as well do the emails yourself. You can also create Job Control code to wrapper the job and send emails in case there are situations that require it.jo8712 wrote:I know there is that stage in job sequencer that sends an email, but I was wondering if there is somewhere to set up email notification if the job fails?
There isn't anything like one 'global' place in DataStage that says 'Send this email if any job ever fails'.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is, in Routines\Built-In\Utilities, a routine called DSSendMailTester, which contains sample code to allow you to research how to invoke the DSSendMail() function correctly, and to test it.
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.