Email Error

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
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Email Error

Post by major »

Hi all,

I am trying to use the email attachment notification routine which is available in Routines\Built-in\Utilities\DSSendMailAttachmentTester

When i try to test that routine i am getting the below error

Program "TSTDSSendMailAttachmentTester.B": Line 3, Unable to open the operating system file "DSU_BP.O/DSU.DSSendMailAttachmentTester".
[ENOENT] No such file or directory
Program "TSTDSSendMailAttachmentTester.B": Line 3, Unable to load file "DSU.DSSendMailAttachmentTester".
Program "TSTDSSendMailAttachmentTester.B": Line 3, Unable to load subroutine.

Arguments passes are

ToAddress = major@ctc.com
FromAddress = major@ctc.com
Subject = Hi
Server = xlivimc01.aig.com
Attachment = opt/data/GTFM/input/email.txt
Body = Hello


Can someone please help me

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

Post by ray.wurlod »

Can you make sure that the routine is compiled?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Post by major »

ray.wurlod wrote:Can you make sure that the routine is compiled?
Ray,

Actually DSSendMailAttachmentTester is a by-default routine "save" and "compile" buttons are disabled , the only thing i can do is "test"

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

Post by chulett »

Do you have it working in another Project that you could export/import into this one? Have you tried the Multi-Job Compiler? Sometimes it lets you do things that are not otherwise possible on a singleton basis.
-craig

"You can never have too many knives" -- Logan Nine Fingers
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Post by major »

Got it guys,

I have copied the code content and created a new user defined routine , now I can do compile and its working perfectly.
I used Multi-Job compiler in vain

Thanks for your suggestions.

Thanks
Post Reply