BookmarkSubscribeRSS Feed
SAS93
Quartz | Level 8

Is it possible to schedule a SAS code to be run automatically at a set time until a specific e-mail is received in Outlook? If so, what might that look like? 

2 REPLIES 2
SASKiwi
PROC Star

IMHO, such a proposed solution is problematic. While sending emails from SAS is fine, querying emails coming in via Outlook, from a SAS batch job is problematic.

 

If you explained what your complete use case is, I am sure there would be better ways to do what you want. For example in SAS it is very easy to do "file event" checking. A SAS job can easily run in a loop checking for the existence of a file in a folder and when it finds it exit the job. A simple solution is usually best.

Sajid01
Meteorite | Level 14

I think yes. May be difficult but not impossible. Consider the following.

We have the ability to create a ticket with SAS Tech Support by Sending an email.
Once it is done a response comes with the ticket number.

Therefore there may be a way.
I suggest that you contact SAS Tech Support. They may be able to help.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 1194 views
  • 1 like
  • 3 in conversation