Previous Page | Next Page

SAS System Options

_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

Syntax Description



Syntax Description


specifies a SAS data set name.

Restriction: No data set options are allowed.
Restriction: Use libref.membername or membername syntax, not a string that is enclosed in quotation marks, to specify a SAS data set name.

Note:    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 the SAS/ACCESS documentation.  [cautionend]


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

_LAST_= is not allowed with data set options.

Operating Environment Information:   The syntax that is shown here applies to the OPTIONS statement. On the command line or in a configuration file, the syntax is specific to your operating environment. For details, see the SAS documentation for your operating environment.  [cautionend]

Previous Page | Next Page | Top of Page