Hi,
I have to send a email notification to the parameter file (in parameter file we listed some of the reciptents names)
Regarding Notification Activity
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
Regarding Notification Activity
i need to know datastage
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 49
- Joined: Sat Mar 26, 2005 12:19 am
Actually, the post says it contains some of the names. Not sure where the rest will come from.
You'll need to read the file in and use the resulting string to populate a Job Parameter for use in the stage. Or if the list is 'too long' or you want people to get individual emails, you'll need to craft an iterative solution.
Either a Sequence with the dreaded User Activity Variables plus the Start Loop and End Loop stages looping around the Notification Activity stage passing one address at a time, or forget the whole 'stage' approach and script something using 'sendmail' or 'mailx' or whatever...
You'll need to read the file in and use the resulting string to populate a Job Parameter for use in the stage. Or if the list is 'too long' or you want people to get individual emails, you'll need to craft an iterative solution.
Either a Sequence with the dreaded User Activity Variables plus the Start Loop and End Loop stages looping around the Notification Activity stage passing one address at a time, or forget the whole 'stage' approach and script something using 'sendmail' or 'mailx' or whatever...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers