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
sspreethi
Participant
Posts: 25
Joined: Mon Dec 01, 2003 2:27 am

Error..

Post by sspreethi »

When I try sending a mail from a sequencer job , I get the follwoing error:

----------------------------------------------------------------------------------
Email_Notification..JobControl (DSSendMail): Error when executing command: D:\Ascential\DataStage\Projects\UFL_Test\sendmail_Email_Notification.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to x.y.com...
SMTPMail Server closed the connection!


Contents of command file:
D:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server x.y.com -from xyz@chn.y.com -subject "Mail sent!!!" -message sendmail_Email_Notification_file.tmp abc@chn.y.com
----------------------------------------------------------------------------------



I tried the same using DSSendMailTester & I get the following error

------------------------------------------------------------------------------
Arg1 = abc@chn.y.com
Arg2 = xyz@chn.y.com
Arg3 = hi
Arg4 = x.y.com
Arg5 = Mail sent!!!

Test completed.

DSLogWarn called from : DSSendMail
Message to be logged is...
> Error when executing command: D:\Ascential\DataStage\Projects\UFL_Test\sendmail_66327_016.bat
> *** Output from command was: ***
> SMTPMail Looking up server...
> SMTPMail Opening connection to x.y.com..
> SMTPMail Server closed the connection!
>
>
> Contents of command file:
> D:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server x.y.com -from xyz@chn.y.com -subject "hi" -message sendmail_66327_016_file.tmp abc@chn.y.com

Result = Error when executing external command
------------------------------------------------------------------------------

Can anyone guide me ??

Thanks
Preethi
kiran_kom
Participant
Posts: 29
Joined: Mon Jan 12, 2004 10:51 pm

Post by kiran_kom »

The job was not able to find the smtp sever (x.y.com). Use a valid smtp server address.
sspreethi
Participant
Posts: 25
Joined: Mon Dec 01, 2003 2:27 am

Post by sspreethi »

I did give a valid SMTP Server address.
CTSINTCOSXUB.cts.com

x.y.com was just an example.

Thanks
Preethi
Post Reply