05-03-2012 02:51 PM
I have code like
libname home "C:\My SAS Files\";
libname folder1 "C:\My SAS Files\folder1\";
libname folder2 "C:\My SAS Files\folder2\";
which I have to run at startup to get my folders up into the system,
is there a way to do this automatically? without manual labor ever time I open SAS?up
05-03-2012 03:27 PM
It is also possible (I think) to add these to the config file "SASV9.CFG". You could then copy this file to use on other workstations, etc. and this could be quicker than saving the libs one by one if you have a lot of them. You could also create a program to read a spreadsheet with the libraries/paths and programmatically assign them at the beginning of a program. A compiled macro to do this would be a good idea too.
05-03-2012 04:00 PM
hi ... if you create a file named AUTOEXEC.SAS in the folder where SAS.EXE is located, all statements in that file are executed at startup
one advantage, you get another PC ... use the same file rather than customizing using SAS windows-based commands
Need further help from the community? Please ask a new question.