SAS® Integration Technologies: Administrator's Guide (LDAP Version)
SAS® Integration Technologies: Administrator's Guide (LDAP Version)
SAS® Integration Technologies: Administrator's Guide (LDAP Version)
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Configuring SAS for DCOM<br />
The COM Service Control Manager (SCM), which launches single user servers such as the IOM Workspace, does not<br />
load a user profile or environment. As a result, SAS sessions launched via DCOM are not initialized with the user's<br />
home directory (typically C:\Documents and Settings\\My Documents), environment<br />
variables or other profile settings.<br />
The default SAS CONFIG file on Windows (!SASROOT\nls\\SASV9.CFG) contains a<br />
definition for SASUSER that contains the Windows shell enumeration ?CSIDL_PERSONAL. For local SAS sessions,<br />
this enumeration refers to the user's home directory. However, when SAS is invoked by DCOM,<br />
?CSIDL_PERSONAL resolves to a system folder that can usually only be accessed if the client has administrator<br />
privileges at the server.<br />
To correct this issue, you must edit the −SET MYSASFILES and −SASUSER commands in SASV9.CFG to refer to a<br />
location that all users can access. Additionally, because the −SASUSER setting will be shared, you should specify the<br />
−RSASUSER option to ensure that none of the users update the user settings.<br />
Default Lines from SASV9.CFG:<br />
/* Setup the MYSASFILES system variable */<br />
−SET MYSASFILES "?CSIDL_PERSONAL\My SAS Files\9.1"<br />
/* Setup the default SAS System user profile folder */<br />
−SASUSER "?CSIDL_PERSONAL\My SAS Files\9.1"<br />
Recommended Change:<br />
/* Setup the MYSASFILES system variable */<br />
−SET MYSASFILES "?CSIDL_COMMON_DOCUMENTS\My SAS Files\9.1"<br />
/* Setup the default SAS System user profile folder */<br />
−SASUSER "?CSIDL_COMMON_DOCUMENTS\My SAS Files\9.1"<br />
−RSASUSER<br />
On Windows XP, this change would typically place SASUSER at<br />
C:\Documents and Settings\All Users\Documents\My SAS Files\9.1.<br />
On most systems, this path would be accessible to everyone. If you choose another path, you must make sure that all<br />
of your potential users have read permissions in that directory.<br />
If you use SAS without IOM on the same system, you might want to create a separate default SASV9.CFG file. See<br />
Customizing the Startup Command for Workspace Servers in the SAS <strong>Integration</strong> <strong>Technologies</strong>: Server<br />
<strong>Administrator's</strong> <strong>Guide</strong> for details on how to update the COM startup command to specify a different file in the<br />
−CONFIG option.<br />
COM/DCOM<br />
Configuring SAS for DCOM 57