Hi,
When a new SAS users start, We start finding My SAS Files folder in project folders. Programmers using SAS EG and batch submit to run programs on SAS server and SAS Eg installed on users machine locally. The following SAS options are in place on SAS 9.4 server.
-SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4"
-SASUSER "?FOLDERID_Documents\My SAS Files\9.4"
I know that "?FOLDERID_Documents\My SAS Files\9.4" maps to "C:\users\user-ID\documents\My SAS Files\9.4" folder in SAS users profile on SAS server.
Windows server 2012 R2
SAS9.4 M5
I'm uncertain about this "My SAS Files" folder in programming folders. We have to manually delete this folder every time.
Any suggestions?
Hi,
In which location on the server did you see those config options set? They may be being overridden by a setting elsewhere.
What are the 'programming folders' you are referring to?
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
In which location on the server did you see those config options set?
Option Value Information For SAS Option SASINITIALFOLDER
Value: E:\Program Files\SASconfig\Lev1\SASApp94
Scope: SAS Session
How option value set: Config File
Config file name:
E:\Program Files\SASconfig\Lev1\SASApp94\sasv9.cfg
Option Value Information For SAS Option SET
Value: [FT15F001 = 'FT15F001.DAT'] [SASROOT = "E:\Program Files\SAS\SASFoundation\9.4"] [SASHOME = "E:\Program Files\SAS"]
[SASAUTOS = ( "!SASROOT\core\sasmacro" "!SASROOT\aacomp\sasmacro" "!SASROOT\accelmva\sasmacro"
"!SASROOT\dmscore\sasmacro" "!SASROOT\graph\sasmacro" "!SASROOT\hps\sasmacro"
"!SASROOT\inttech\sasmacro" "!SASROOT\lasreng\sasmacro" "!SASROOT\stat\sasmacro" )] [SAMPSIO = (
"!SASROOT\core\sample" "!SASROOT\access\sample" "!SASROOT\accesssample\sample"
"!SASROOT\graph\sample" "!SASROOT\hps\sample" "!SASROOT\hpstat\sample" "!SASROOT\inttech\sample"
"!SASROOT\stat\sample" )] [SAMPsrc=( "!SASROOT\core\sample" "!SASROOT\access\sample"
"!SASROOT\accesssample\sample" "!SASROOT\graph\sample" "!SASROOT\hps\sample" "!SASROOT\hpstat\sample"
"!SASROOT\inttech\sample" "!SASROOT\stat\sample" )] [INSTALL = ( )] [MYSASFILES =
"?FOLDERID_Documents\My SAS Files\9.4"] [SASCFG = "E:\Program Files\SAS\SASFoundation\9.4\nls\en"] [SAS_NO_RANDOM_ACCESS = "1"]
[SAS_ODSG_CRENDER_PATH = "E:\Program Files\SAS\SASODSGraphicsCRenderer\9.44"] [APFMTLIB = "SASEnvironment/SASFormats"]
Scope: SAS Session
How option value set: Config File
Config file name:
E:\Program Files\SASconfig\Lev1\SASApp94\sasv9.cfg
I see that -SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4" specified in E:\Program Files\SAS\SASFoundation\9.4\nls\en\sasv9.cfg file.
Option Value Information For SAS Option SASUSER
Value: F:\Users\*********\Documents\My SAS Files\9.4
Scope: SAS Session
How option value set: Config File
Config file name:
E:\Program Files\SAS\SASFoundation\9.4\nls\en\sasv9.cfg
What are the 'programming folders' you are referring to?
Fileshare server (storage)
Sorry I deleted my last post as it wasn't quite accurate.
You mentioned this is occurring for programmers using EG and in batch. Do you have MYSASFILES set in another sasv9.cfg file elsewhere? For example, check the following:
E:\Program Files\SASconfig\Lev1\SASApp94\sasv9_usermods.cfg
E:\Program Files\SASconfig\Lev1\SASApp94\WorkspaceServer\sasv9.cfg
E:\Program Files\SASconfig\Lev1\SASApp94\WorkspaceServer\sasv9_usermods.cfg
E:\Program Files\SASconfig\Lev1\SASApp94\BatchServer\sasv9.cfg
E:\Program Files\SASconfig\Lev1\SASApp94\BatchServer\sasv9_usermods.cfg
Check this post for more info on the sequence in which the config files are processed: https://communities.sas.com/t5/Administration-and-Deployment/SAS-Config-Files-Sequence/td-p/375889
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
I have verified all sasv9.cfg files in SASAPP, Workspace server, and batch server. MYSASFILES option specified in E:\Program Files\SAS\SASFoundation\9.4\nls\en\sasv9.cfg file as -
-SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4"
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.