Back to Tech Corner
SAS Admin

SAS Admin – SASUSER location Change in Windows Operating Environment

SAS 9.4 installations on Windows environment uses the FOLDERID_DOCUMENTS variable for the SASUSER default location instead of CSIDL_PERSONAL Windows special folder variable.

You may run the following code

PROC OPTIONS OPTION=SASUSER VALUE;
RUN;

To get the value of your SASUSER location in a SAS session (SAS Enterprise Guide, SAS Studio, and or SAS BASE Editor). SASUSER configuration option is defined in sasv9.cfg in the SASHOME/SASFoundation/9.4/en/u8/d1/sasv9.cfg file.

The SASUSER value (shown below in a sasv9.cfg)

SASUSER value in sasv9.cfg file

Could resolve to c:/users/<user-ID>/documents/My SAS Files/9.4, or

/OneDrive/documents/My SAS Files/9.4

depending on your current default location set on your machine.

SASUSER location could be used to save your SAS artifacts. A full disk where SASUSER reside may prevent from SAS jobs to execute.