BookmarkSubscribeRSS Feed
Question
Fluorite | Level 6

 Hi,

 

I would like to automate a SAS program that will run on a weekly basis and send an email notification to my colleagues to let them know if the program has run successfully or the program has failed etc..

 

Your help woud be much appreciated

 

Thank You

 

 

2 REPLIES 2
Sven111
Pyrite | Level 9

The FILENAME statement allows you to send email via SMTP.  It's pretty flexible and lets you send to multiple people with or without attachments, etc.

 

 

Sven111
Pyrite | Level 9
I guess your question could be read two ways, are you asking for help on sending emails from SAS or automating SAS jobs, or both? If you're looking for info on automation, I generally use cron on our linux server to schedule repeating jobs.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 3259 views
  • 0 likes
  • 2 in conversation