BookmarkSubscribeRSS Feed
angelinading
Fluorite | Level 6

 

Hi all,

 

If you are dealing with a mess amount of SAS programs, 

Instead of click the programs one by one manually,

I am here to share a more efficient method that can save you the hassle

 

Basically it is a Windows Batch File with a suffix of .bat

1.PNG

 

A very simple 3 sentences command:

2.PNG

 

 

-------------------------------------------------------------------------------------

path [!path];C:\Program Files\SASHome\SASFoundation\9.4    -- Defines the path of SAS engine location, it differs
for %%f in (*.sas) do (SAS %%f -nostatuswin )                            -- Batch run programs end with .sas

pause                                                                                                -- Provide details of each program, optional                                    

-------------------------------------------------------------------------------------

 

Hope it helps!

How to improve email deliverability

SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 696 views
  • 1 like
  • 1 in conversation