Add an OLE database connection using ArcCatalog
Because SAS and ArcGIS exchange data using an OLE protocol, each
SAS library is treated as an OLE database. Therefore, to exchange
data you must first add an OLE database connection to ArcGIS's
list of database connections. Use ArcCatalog to do one of the
following:
A list of SAS OLE DB connections that you define in ArcCatalog
is presented to you in ArcMap, and you can choose one of these
connections when you add data from, or export data to, a SAS data
set.
From within ArcCatalog do the following:
- Double-click Add OLE DB Connection.
- Select SAS IOM Data Provider 9.x from the
Provider tab of the Data Link Properties window.
- Select the Connection tab and specify
_local_ in the Data Source
field.
This specifies that the SAS libraries are on the same machine
as ArcCatalog.
- Click OK to add an OLE DB Connection.odc
entry to your Add Data window.
Note: The default name for an OLE connection
is OLE DB Connection.odc. Additional connections are identified
by number, for example, OLE DB Connection(2).odc.
- Right-click OLE DB Connection.odc and select
Connect from the pop-up menu.
When you connect to a remote SAS server, SAS Bridge for ESRI
makes a request to an Object
Spawner on the server. The Object Spawner starts a SAS Object
Server that listens for further requests from the SAS Bridge for
ESRI.
To connect to a remote SAS server using ArcCatalog:
- Double-click Add OLE DB Connection.
- Select SAS IOM Data Provider 9.x from the
Provider tab of the Data Link Properties window.
Note: To connect to a remote SAS server, a
SAS IOM Data Provider must already be running. If you cannot
connect to the remote SAS server, contact your system administrator
for assistance.
- Select the Connection tab and specify any
name (other than _local_
) in the Data Source field.
The name appears on the Attribute
Export dialog in ArcMap.
- Type your user ID and password.
- Identify your SAS server,
making sure that the SAS Protocol is ProtocolBridge.Your
system administrator should provide you with the necessary information.
A list of SAS
OLE DB connections that you define in ArcCatalog is presented
to you, and you can choose one of these connections when you
add data from, or export data to, a SAS data set.
- Click OK to add an OLE DB Connection
entry to your catalog.
Note: The default name for an OLE connection
is OLE DB Connection.odc. Additional connections are identified
by number, for example, OLE DB Connection(2).odc. You can rename
a connection to something more easily recognizable by right-clicking
on the name and selecting Rename.
- Right-click OLE DB Connection.odc and select
Connect from the pop-up menu.