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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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