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