Sending mail (file data as a 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
vinsashi
Participant
Posts: 150
Joined: Mon Aug 20, 2007 4:52 am
Location: singapore

Sending mail (file data as a body)

Post by vinsashi »

Hi,
I did one job that job output is txt file. that output i have to sent mail in body part .

thanks in adavance
vin..
bhasannew
Participant
Posts: 31
Joined: Wed Aug 06, 2008 10:54 pm

Post by bhasannew »

you can do that using after job subroutine calling unix commands.
vinsashi
Participant
Posts: 150
Joined: Mon Aug 20, 2007 4:52 am
Location: singapore

Post by vinsashi »

i am working on windows environment.

thanks
v..
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

working on windows environment should not create any problem and you should have MKS Toolkit installed to simulate unix on your box.

If you use DSSendMail routine in your job you can parameterise the body part for what you need. There are other ways too but its just the question of digging out the information for the same in manuals and searching the forum.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Installing an email client like blat would make that pretty trivial.
-craig

"You can never have too many knives" -- Logan Nine Fingers
JRodriguez
Premium Member
Premium Member
Posts: 425
Joined: Sat Nov 19, 2005 9:26 am
Location: New York City
Contact:

Post by JRodriguez »

Would you like to try with a server job? ... Used DSSendMail routine
Julio Rodriguez
ETL Developer by choice

"Sure we have lots of reasons for being rude - But no excuses
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or in a Sequence job.
-craig

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