Wednesday, 20 July 2011

Fixing Base SAS

"Before I speak, I have something important to say."


Base SAS is dumb. Every time it opens you have to maximize it. What's the point? Like I have time to click stupid buttons when there is important analysis to be done! Fortunately, there is a way to customize how Base SAS starts up. The way to do this is to create a file called AutoExec.sas and save it in the root directory of your local hard drive:


C:\AutoExec.SAS


In the file use the following code to start SAS maximized:


dm 'awsmaximize';


It's also good if you want to automatically run code or assign libraries. I use the include statement to run the scripts that logs me on to our remote server: 


%include "C:\Hi Doggy\SAS Code\Remote Sign On.sas";


What used to be a pointless task is now a dream, I love you again Base SAS.

No comments:

Post a Comment