BookmarkSubscribeRSS Feed
SasStatistics
Pyrite | Level 9

In my organization, we send many mails through through SAS automatically. So it makes sense to write a macro/function for this. 

Before starting to write my own it would be awesome if you could share what you/others have done in this front that you know of and that could work as a inspiration or even template. In best case, someone might even have written a "finished macro" that I can reuse. 

All tips appreciated. 

2 REPLIES 2
Reeza
Super User

https://www.lexjansen.com/search/searchresults.php?q=sas%20mail

 

There's a lot out there.

 


@SasStatistics wrote:

In my organization, we send many mails through through SAS automatically. So it makes sense to write a macro/function for this. 

Before starting to write my own it would be awesome if you could share what you/others have done in this front that you know of and that could work as a inspiration or even template. In best case, someone might even have written a "finished macro" that I can reuse. 

All tips appreciated. 


 

SASKiwi
PROC Star

You may want to consider using the mailing capabilities of any job schedulers you are using with SAS. If the purpose of the email is merely to notify the completion of a SAS job or that an error has occurred, then mailing from a scheduler doesn't require any coding at all.

 

Obviously if you are mailing for other purposes then you will need to mail from SAS itself. 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

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
  • 2 replies
  • 299 views
  • 2 likes
  • 3 in conversation