Connecting to Common Data Sources |
Overview of Establishing Shared Access |
The following figure provides a logical view of accessing SAS data sets through a SAS/SHARE server.
Establishing Shared Access to SAS Data Sets
Base SAS libraries allow the following access:
Any number of users can read data.
A single user can write or update data.
You can share access to a library of existing SAS data sets by using a SAS/SHARE server to manage access to the data. Assume that the SAS/SHARE software has already been loaded by using the standard installation wizard, and that you have a SAS/SHARE server registered in metadata (for example, SHAREServer) that was created by the wizard. Configuring shared access is a two-stage process:
Create a SAS/SHARE REMOTE Engine Library. This library is assigned to a SAS application server, as shown in the previous figure.
While creating the SAS/SHARE REMOTE Engine Library, choose the option to register a new library to the SAS/SHARE server. This is shown in the previous figure as a Base SAS library. It is very important to pre-assign this library and to assign it to the SAS/SHARE server.
Create a SAS/SHARE Remote Engine Library |
To create a SAS/SHARE Remote Engine library, perform the following steps:
In SAS Management Console, expand Data Library Manager. Right-click Libraries. Then, select the New Library option to access the New Library wizard.
Select SAS/SHARE REMOTE Engine Library from the SAS Data list. Click Next.
Enter an appropriate library name in the Name field (for example, SharedAccessToOrionGold). You can supply an optional description. Click Next.
Select one or more SAS servers (not a SAS/SHARE server at this point) and click the right arrow. The library is available to the servers included in this list and visible to users of the server. Click Next.
Enter a value for Libref and click Next.
Enter the following library properties:
Field | Sample Value |
---|---|
SAS/SHARE Server |
SHAREServer |
SAS/SHARE Server Library |
Click New to register a new library such as a Base SAS library. Assign the new library to the SAS/SHARE Server and set the library as pre-assigned. |
Default Login |
(None) (This default login is used to resolve conflicts between multiple logins to an authentication domain. In such cases, the default login is used.) |
Click Next.
Examine the final page of the wizard (for the SAS/SHARE REMOTE Engine Library) to ensure that the proper values have been entered. Click Finish to save the settings.
Restart the SAS/SHARE server.
At this point, you can register tables, as explained in Registering and Verifying Tables.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.