BookmarkSubscribeRSS Feed
gnetnaw
Calcite | Level 5

May I know how to run other SAS codes based on a table, the table will tell when to run the SAS codes (e.g. how freq i.e daily, weekly or monthly) and also there is a expiry date to tell when to stop the SAS codes

3 REPLIES 3
SASKiwi
PROC Star

It looks like you are heading down the path of building your own SAS job scheduler. I highly recommend you don't do this. Why? Because there are already many scheduling tools available to you so why build another one. Every operating system has a scheduling tool, like Windows task scheduler. SAS provides scheduling capability using SAS Management Console and the Schedule Manager:

 http://documentation.sas.com/?docsetId=scheduleug&docsetTarget=p1st3swwtt231jn1ramd8tsx9ijw.htm&docs...

 

This is a good solution if you are using SAS on a remote server. If you are using SAS on a PC then scheduling using SAS Enterprise Guide is an option. This link shows several options available to you:

https://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/

 

 

 

gnetnaw
Calcite | Level 5

Thanks for your solution! 

SASKiwi
PROC Star

Please mark this post as answered if you are happy with the solution.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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