Environment values to Email Notification in Datastage 7.0

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Environment values to Email Notification in Datastage 7.0

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply