Notification_Activity problem: Error when executing command

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
clockover
Participant
Posts: 2
Joined: Tue Feb 14, 2006 11:24 pm

Notification_Activity problem: Error when executing command

Post by clockover »

Code: Select all

test_send..JobControl (DSSendMail): Error when executing command: C:\Ascential\DataStage\Projects\pri\sendmail_test_send55044,539_3072.bat
*** Output from command was: ***
'C:\Ascential\DataStage\Projects\pri\sendmail_test_send55044' is not recognized as an internal or external command,
operable program or batch file.

Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.

Contents of command file:
C:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server "mail1.pri.ru" -from "mailagent@pri.ru" -subject "test pass" -message "sendmail_test_send55044,539_3072_file.tmp" "1CtoDS@pri.ru"


if I run in cmd C:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -server "mail1.pri.ru" -from "mailagent@pri.ru" -subject "test pass" -message "sendmail_test_send55044,539_3072_file.tmp" "1CtoDS@pri.ru" all ok.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Whats all the parameter that been passed?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
clockover
Participant
Posts: 2
Joined: Tue Feb 14, 2006 11:24 pm

Notification_Activity problem: Error when executing command

Post by clockover »

-=GENERAL=-

Name: Notification_Activity_1

-=NOTOFICATION=-

SMTP: mail1.pri.ru
Senders email address: mailagent@pri.ru
Recipients email address: 1CtoDS@pri.ru
Email subject: test pass
Attachments:
Email body: "done"
Include job stasus in email: uncheck
Post Reply