.sas7bdat
.
driver=sql;conopts=(driver=base;catalog=acat; schema=(name=dblib;primarypath=/u/path/mydir))
Option
|
Description
|
---|---|
CATALOG
|
CATALOG=catalog-identifier; Specifies an arbitrary
identifier for an SQL catalog, which groups logically related schemas.
A catalog name can be up to 32 characters long. You must specify
a catalog.
Note: The FedSQL language processor
automatically quotes SQL identifiers that do not meet the regular
naming convention as defined in SAS FedSQL Reference Guide.
|
DRIVER
|
DRIVER=BASE; Identifies the data
service to which you want to connect, which is a SAS data set.
Note: You must specify DRIVER=BASE
to access a SAS data set.
|
(SCHEMA) NAME
|
NAME=schema-identifier; Specifies an arbitrary
identifier for an SQL schema. Any identifier is valid (for example,
name=myfiles). The schema identifier is an alias for the physical
location of the SAS library, which is much like the Base SAS libref.
A schema name must be a valid SAS name and can be up to 32 characters
long. You must specify a schema identifier.
|
PRIMARY PATH
|
PRIMARYPATH=physical-location; Specifies the physical
location for the SAS library, which is a collection of one or more
SAS files. For example, in directory-based operating environments,
a SAS library is a group of SAS files that are stored in the same
directory.
Note: You must specify a primary
path.
|
SCHEMA (ATTRIBUTES)
|
SCHEMA=(attributes); Specifies schema attributes
that are specific to a SAS data set. A schema is a data container
object that groups tables. The schema contains a name, which is unique
within the catalog that qualifies table names. For a SAS data set,
a schema is similar to a SAS library, which is a collection of tables
with assigned attributes.
|
Option
|
Description
|
||||||
---|---|---|---|---|---|---|---|
ACCESS
|
ACCESS=READONLY
| TEMP;
|
||||||
CT_PRESERVE
|
CT_PRESERVE
= STRICT | SAFE | FORCE | FORCE_COL_SIZE Enables users to control
how data types are mapped. Note that data type mapping is disabled
when CT_PRESERVE is set to STRICT. If the requested type does not
exist on the target database, an error is returned. Here are the options:
|
||||||
COMPRESS
|
COMPRESS=NO
| YES | CHAR | BINARY; Controls the compression
of rows in created SAS data sets.
|
||||||
DEFAULT_ATTR
|
DEFAULT_ATTR=(attr=value;...) Used to specify connection
handle or statement handle attributes that are supported for initial
connect-time configuration, where
attr=value corresponds
to any of the following options:
|
||||||
ENCODING
|
ENCODING=encoding-value; Overrides and transcodes
the encoding for input or output processing of SAS data sets.
Note: The default value is the
current operating system setting.
|
||||||
LOCKTABLE
|
LOCKTABLE=SHARED|EXCLUSIVE Places exclusive or
shared locks on SAS data sets. You can lock tables only if you are
the owner or have been granted the necessary privilege. The default
value for the table services is SHARED.
|
||||||
PATH_BIND
|
PATH_BIND=CONNECT|ACCESS Specifies when and how
schemas are validated during connection. CONNECT validates the entire
connection string at the time of connection and returns an error if
one or more schemas is invalid. ACCESS validates schemas when they
are accessed so that processing continues regardless of errors in
the schema portion of the connection string. ACCESS is the default
for the table services.
|