Hi 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.
Thanx and Regards,
Ravi
SendMail in DataStage
Moderators: chulett, rschirm, roy
Hi,
in the Job Sequencer, you have two possibilities :
- using a routine who has the executable for sending a mail and in your routine you determine the condition Succes or Abend (with RoutineActivity)
- using the stage called NotificationActivity. In the JobActivity, check the answers and depending of your result, connect with the different NotificationActivity (one for Ok and one for Abord).
Peytot
in the Job Sequencer, you have two possibilities :
- using a routine who has the executable for sending a mail and in your routine you determine the condition Succes or Abend (with RoutineActivity)
- using the stage called NotificationActivity. In the JobActivity, check the answers and depending of your result, connect with the different NotificationActivity (one for Ok and one for Abord).
Peytot