Email with attachment v7.0

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
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

Email with attachment v7.0

Post by suresh.narasimha »

Hi All

Good Evening!!

Can you help me out with some code that I can email an attachment through datastage.

Is there any other simpler way to do it in v7.0 ?

Thanks much in advance.
Suresh
Last edited by suresh.narasimha on Wed Oct 01, 2008 5:42 pm, edited 1 time in total.
SURESH NARASIMHA
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DataStage has mail sending capability within the email activity stage. DataStage will use the UNIX sendmail interface, so the question of attachments is just a matter of finding out how to do it with sendmail and then implementing that in a DataStage call.
If you add some specifics to your question you might be able to get a more detailed response on how to do this.
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

Email with attachment v7.0

Post by suresh.narasimha »

Hi Andrw

Im not a premium member of forum.

So if possible can you please paste the content outside ?

Thanks
Suresh
SURESH NARASIMHA
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Premium membership is one of the ways that the hosting and bandwidth charges incurred by DSXchange are defrayed. There are only five premium posters. Membership is not expensive, at less than 30c (Rs12) per day. No premium memberships = no DSXchange.

It is for this reason that the premium posters will not create a precedent of bypassing the premium membership mechanism.

Get yours here today!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Talk to a SysAdmin or someone 'shell savvy' there, ask them about scripting attachments with sendmail or mailx. It will typically include the use of uuencode unless you have a client that supports attachments directly, like say 'blat'.
-craig

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