Notification Activity - Email body

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
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Notification Activity - Email body

Post by vnspn »

Hi,

In the Email Notification stage, we are trying to provide an output filename in the email body. This file is created by a previous job. So, we have to dynamically obtain the name of that file and put it in the email body. We tried to get the filename using a routine and then provide it in the email body. But, it didn't work, because the output of the routine cannot be placed in the email body.

Is there anyother way to dynamically obtain the filename and place it in the email body?

Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not with that stage AFAIK. You could roll your own routine and call DSSendMail() there as one solution. Or a scripted call to sendmail.
-craig

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