An engine
is a component of SAS software that is used to read from or write
to a source of data. There are several types of SAS engines, including
engines that
SAS/ACCESS software uses to connect to a variety of data
sources other than Base SAS. Specifically, this recipe discusses how
to use
SAS/ACCESS engines to access data that is stored in a third-party
DBMS or on an SPD Server.
In order
to access the DBMS or SPD Server, the JDBC driver uses the
dbms
connection property. The
dbms
connection property specifies the name of the engine that is used
to connect directly to the underlying DBMS or the SPD Server. Connecting
through an engine enables you to use the SQL syntax of the underlying
DBMS or SPD Server.
Valid
dbms
values include
oracle
and
db2
for use with the IOM driver
and
spds
for use with the
SAS/SHARE
driver.
After
you use the
dbms
property to specify
a DBMS engine or the SPD Server engine, you use the
dbmsOptions
property to specify the engine-specific
options. Valid
dbmsOptions
include
user
,
path
, and
dsn
for DBMS engines, and
host
and
serv
for the SPD Server engine.
Note: The JDBC drivers
do not process the
dbms
and
dbmsOptions
values. The drivers simply pass the values
down to the server.