BookmarkSubscribeRSS Feed
deleted_user
Not applicable
We need to automate some of our canned reports monthly and would like to email them as soon as they are available.
Using the filename email option gives an "Undetermined I/O Error". Proc Options gives me a CONFIG path that I can't get to, hence I can't change the EMAILHOST or EMAILSYS options. This is pretty straightforward in batch unix, linux or mainframe.

1) How should I go about this on windows?
2) Can I set/use a custom CONFIG?
5 REPLIES 5
deleted_user
Not applicable
Hi,

Someone on SAS-L mentioned that we probably cannot use custom CONFIG files when EG runs on the server. Hence, we asked our admin to add -EMAILHOST -EMAILSYS options to the config on the server. It appears to have resolved our problem.
The next is server side automation. Is it possible?

Many thanks
Nori
deleted_user
Not applicable
I need to change the config file myself, but I am not sure, what you meant, did your admin just add those 2 words to the config file or is there some syntax besides that?

Thanks
deleted_user
Not applicable
it seems email options must be set as a sas session starts.
(as documented in the log after running the code:
proc options group= email define value; run;
Is there some real need for this restriction, or can we hope for change?
Either (or both)
1 allow EG to contribute SAS invocation options
2 enable email options to be changed after invocation
??

Peter
deleted_user
Not applicable
He added the following to the config file:

-emailsys SMTP
-emailhost mailsrv
-emailport 25

hth
Nori
deleted_user
Not applicable
Thanks so much, I got it working.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 687 views
  • 0 likes
  • 1 in conversation