BookmarkSubscribeRSS Feed
RHankare
Calcite | Level 5

Hi Team,

I am newbie in SAS base 9.4 tool. Normally I execute SAS master code using SAS base 9.4 tool. Currently I am looking to schedule those master code using windows scheduler along with some dependencies amongst them.

Can you please advise how to automate schedule those SAS code using windows scheduler.

Thanks in advance.

RSH 

1 REPLY 1
s_lassen
Meteorite | Level 14

The basic thing is to call SAS using a command line interface, e.g.

<path>\sas.exe -sysin <path>\sasprogram.sas -log <path to log file>

You can test it first by opening a command prompt and test the command (it may not be called sas.exe, I do not know exactly what the SAS executable is currently called.

 

You can read about the command line interface here 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 541 views
  • 0 likes
  • 2 in conversation