SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
quiphan
Fluorite | Level 6

Dear Experts, 

 

I have a Base SAS program (PGMA.sas) running in Windows (Current version: 9.04.01M6P110718; Operating System: WX64_WKS.) . 

How can I schedule Base SAS to run PGMA to run daily at 8PM? What options are available in Base SAS?

 

Thanks in advance

Qui

1 ACCEPTED SOLUTION

Accepted Solutions
japelin
Rhodochrosite | Level 12

Use the task scheduler function of Windows.

 

Be sure to specify the correct path in Program/Script box.

C:\Program FIles\SASHome\SASFoundation\...\sas.exe  -sysin "...\pgma.sas"

 

-sysin is a parameter for batch execution of a specific program.

 

 

View solution in original post

4 REPLIES 4
japelin
Rhodochrosite | Level 12

Use the task scheduler function of Windows.

 

Be sure to specify the correct path in Program/Script box.

C:\Program FIles\SASHome\SASFoundation\...\sas.exe  -sysin "...\pgma.sas"

 

-sysin is a parameter for batch execution of a specific program.

 

 

quiphan
Fluorite | Level 6
Thanks kawakami, I add a scheduling record. I left out -sysin as I do not know what should be in it. Qui
Reeza
Super User
If you're running a single licensed installation then SAS doesn't offer any capabilities AFAIK.
That comes with server licenses and tools.

You can use Windows Scheduler or another scheduling tool but they require your computer to be on and running.

quiphan
Fluorite | Level 6
Thanks Reeza for the advice. Qui

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 4 replies
  • 2515 views
  • 1 like
  • 3 in conversation