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 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 277 views
  • 0 likes
  • 2 in conversation