SAS Institute. The Power to Know

SAS/ACCESS(R) 9.2 Interface to PC Files: Reference

Previous Page | Next Page

LIBNAME Statement: PC Files on Microsoft Windows

Data Set Options

You can specify SAS/ACCESS data set options on a SAS data set when you access PC files data with the LIBNAME statement. A data set option applies only to the data set on which it is specified, and it remains in effect for the duration of the DATA step or procedure.

This generic example illustrates the format of data set options:

LIBNAME libref engine-name;
PROC PRINT libref.data-set-name(DATA_SET_OPTION=value)

You can use the CNTLLEV=, DROP=, FIRSTOBS= , IN=, KEEP=, OBS=, RENAME=, and WHERE SAS data set options when you access PC files data. SAS/ACCESS interfaces do not support the REPLACE SAS data set option. For information about using SAS data set options, refer to the SAS Language Reference: Dictionary.

Note:   Specifying data set options in PROC SQL might reduce performance, because it prevents operations from being passed to the data source for processing.  [cautionend]

SAS/ACCESS Interface to PC Files supports these data set options:

AUTOCOMMIT DBGEN_NAME DBTYPE
COMMAND_TIMEOUT DBKEY ERRLIMIT
CURSOR_TYPE DBLABEL INSERT_SQL
DBCOMMIT DBMAX_TEXT INSERTBUFF
DBCONDITION DBNULL NULLCHAR
DBCREATE_TABLE_OPTS DBNULLKEYS NULLCHARVAL
DBENCODING DBSASLABEL READBUFF
DBFORCE DBSASTYPE SASDATEFMT

Previous Page | Next Page | Top of Page