How to mail SAS table in excel form? How to mail errors?
@tarikbirinci1 wrote:
How to mail SAS table in excel form?
By attaching the excel file to a mail. I am sure that you will find papers with code.
@tarikbirinci1 wrote:
How to mail errors?
What you mean exactly? Easiest way: use proc printto to save the log in am accessible directory, then just send the path to log.
To create an Excel file, either use PROC EXPORT with DBMS=XLSX, or PROC PRINT with ODS EXCEL, or LIBNAME XLSX.
To send mail from SAS code, use FILENAME EMAIL.
You will find examples in the linked documentation.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.