Tuesday, February 25, 2014

SAS: Change location of WORK folder

This is something I always forget how to do, and have to relearn it for failure of committing it to a place like this.  Found this in an old email and repeating it here.  (Your path may differ.)


To change the location of the work files, edit E:\SAS\Config\Lev1\SASApp\sasv9_usermods.cfg.  You should see something like this:

/* Setup the default SAS System user work folder */
-WORK “J:\SASWORK”

Note there is no semi-colon on the –WORK line.


Updated 20140226.

Also check C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg
In this case I tried making a sasv9_usermods.cfg but it appeared to be ignored.
Always a good idea to make a backup file first as I did here:



You can check by running PROC OPTIONS and find "WORK=" in the log.


No comments:

Post a Comment