Page 1 of 1

Environment values to Email Notification in Datastage 7.0

Posted: Tue Feb 19, 2008 1:57 pm
by laxmi_etl
Hi

How do i supply Environment values to Email Notification Sequence in DataStage 7.0. I know that DS7.5 has the option where we can select the values, but in DS7.0 there is no such facility.

I want to supply SMTP mail server, Senders Email address and to Recipient Mail address with Environment values.


i tried all the possible ways, like passing #$MAIL_SERVER# also #MAIL_SERVER# for SMTP Server address but nothing works,

Thanks

Posted: Tue Feb 19, 2008 2:07 pm
by chulett
You'd need to write your own custom routine using DSExecute - an interlude to your mail client of choice - mailx, for example. Then you'd have full control over all of the components.

:idea: Have you tried doing this for the email addresses yet? I ask because your attempt to affect the SMTP server may be 'failing' because that typically isn't used on a UNIX server.