SendMail by Using DataStage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
nvkravi
Participant
Posts: 22
Joined: Mon Jun 09, 2003 12:01 am
Location: India

SendMail by Using DataStage

Post by nvkravi »

Hello All,
I am new to this Tool. And I need to ask one query here. When I am running a Job or Job Sequence in DataStage5.2, So If this runs successful then I want to send a mail to One person and When It fails, to send another person. So, can you suggest me anyone how to do this? Here I am using both flat files and RDBMS in both Source and Target sides. Your Inputs would be Valuable.
Peytot
Participant
Posts: 145
Joined: Wed Jun 04, 2003 7:56 am
Location: France

Post by Peytot »

You have 3 posts with the same subject, I think, you can remove some of them [;)]
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

hi,
on DS 5.2 using sequencer job send the successfull job finish to a sequncer stage then you can put as many output links from it as you need 1 will continue the overall job if needed, 1 will go to a notification (mail) activity etc... same applies to the case you got errors

enjoy

Roy R.
Post Reply