Hi,
We have one requirement of sending a mail attaching the Job Status from datastage. But these mail addresses should be taken from a file.
So can we read the mail addressed from a file and use these addresses in Mail Notify stage?
OR
Can we write Job Status (Job Activity Stage) to a file so that we can send the mail using shell scripting?
Thanks in anticipation,
Writing to unix file from datastage sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 6
- Joined: Thu Aug 31, 2006 7:59 am
Writing to unix file from datastage sequence
Thanks n Regards,
Neelima
Neelima
Welcome. :D
While both of these can be done, they aren't easily explained in a sentence or two. Rather than reading a list of emails from a file, why not create a 'group' in your email system and use that in the Notification Activity stage instead?
That's the way many people tackle this problem, myself included. The use of the group email simplifies your job and removes the possible need to change the job to change who gets emailed. Whomever admins your email server could easily maintain that group for you.
While both of these can be done, they aren't easily explained in a sentence or two. Rather than reading a list of emails from a file, why not create a 'group' in your email system and use that in the Notification Activity stage instead?
That's the way many people tackle this problem, myself included. The use of the group email simplifies your job and removes the possible need to change the job to change who gets emailed. Whomever admins your email server could easily maintain that group for you.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers