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?
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?
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