_LAST_= System Option

Specifies the most recently created data set.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Restriction: _LAST_= is not allowed with data set options.
Note: This option cannot be restricted by a site administrator. For more information, see Restricted Options.

Syntax

Syntax Description

SAS-data-set
specifies a SAS data set name.
Restriction:No data set options are allowed.
Tip:Use libref.membername or membername syntax, not a string that is enclosed in quotation marks, to specify a SAS data set name. You can use quotation marks in the libref.membername or membername syntax if the libref or member name is associated with a SAS/ACCESS engine that supports member names with syntax that requires quoting or name literal (n-literal) specification. For more information, see SAS/ACCESS for Relational Databases: Reference.

Details

By default, SAS automatically keeps track of the most recently created SAS data set. Use the _LAST_= system option to override the default.