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.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: