To assign a custom Work location for different users running SAS® Foundation and SAS® Enterprise Guide®, complete these steps for each user:
-config "%userprofile%\SASCFG\sasv9.cfg"
Close and save the file.
5. To validate that the new Work location has been set for the user, open SAS Foundation or SAS Enterprise Guide and run the following command:
proc options option=WORK value; run;
Note: If the "%userprofile%\SASCFG\sasv9.cfg" file does not exist, SAS opens and uses the default Work library, defined with the -WORK option in your \nls\en\sasv9.cfg file. In this scenario, an error similar to the following occurs in the SAS log:
ERROR: Cannot open "C:\Users\<user-ID>\sascfg\sasv9.cfg"
If you want this user ID to use the default Work library from the \nls\en\sasv9.cfg file, then you can disregard the SAS error.