Send an attachment using DS mail functionality

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
hkotze
Participant
Posts: 35
Joined: Tue Feb 04, 2003 5:09 am

Send an attachment using DS mail functionality

Post by hkotze »

Hi All

Is it possible to send a file as an attachment using dssendmail or datastage notification stage?

I'm thinking of creating a file as the body of the text containing the information needed to send and include that in the command for the body - using dssendmail. I'm not sure how to do it in the Job sequencing.
MAT
Participant
Posts: 65
Joined: Wed Mar 05, 2003 8:44 am
Location: Montréal, Canada

Post by MAT »

Hi,

You cannot at this time send an attachement using DSSendMail. If you want an easy way to bypass this, you can put all your data in variables and include it in the body. An another would be to take advantage of the fact that you can execute DOS and UNIX commands to send an email through a simple mail program that allows attachement. I think someone recommended a program for UNIX some time ago, you could do a search about this on the forum.

Regards

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

Post by chulett »

mutt - highly recommended!

www.mutt.org

-craig
Post Reply