09-23-2013 09:56 PM
Need you help on the following: I am trying to send an email via SAS Base 9.2 (code below) from a server, which I connect remotely. The idea is to run this on a batch overnight.
The problem is that the code runs perfectly via batch when I am connected remotely, i.e., when I am logged in. However, when I am not, the email is not sent and the following error is generated on the log:
ERROR: Undetermined I/O failure.
NOTE: The SAS System stopped processing this step because of errors.
I really need the help of someone. I am using gmail via outlook. I look to all threats on the internet, already tried everything with no success whatesoever. Any help is appreciated. tks!
filename outbox email "firstname.lastname@example.org"
subject="SAS Routine - Batch";
put "Dear all, routine has successfully completed.";
05-22-2015 02:07 PM
I am running a batch job using Windows Powershell. I am connected but SAS fails in the final email step where I am trying to send an email with a summary. I have an email to SAS tech support but they seemed to be baffled themselves at the moment. When running the job in EG SAS sends the email without any problems.
05-22-2015 04:00 PM
When running in the batch job, do you know if SAS has the -EMAIL* options set properly? Check PROC OPTIONS GROUP=EMAIL; RUN; in EG and compare to the same in the batch process.
05-22-2015 05:40 PM
Yes THANK YOU Proc Options Group=email; showed me that the batch job is setup for MAPI email system. - just need an Options statement for EMAILSYS=SMTP