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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2212 views
  • 1 like
  • 3 in conversation