OPTLOAD Procedure
PROC OPTLOAD Statement
Loads saved setting of SAS system options that are
stored in the SAS registry or in a SAS data set.
Syntax
Summary of Optional Arguments
Load SAS system option settings from an existing
data set.
Load SAS system option settings from an existing
registry key.
Optional Arguments
- DATA=libref.dataset
- specifies the library
and data set name from where SAS system option settings are loaded.
The SAS variable OPTNAME contains the character value of the SAS system
option name, and the SAS variable OPTVALUE contains the character
value of the SAS system option setting.
Default:If you omit the DATA= option and the KEY= option,
the procedure will use the default SAS library and data set. The default
library is where the current user profile resides. Unless you specify
a library, the default library is SASUSER. If SASUSER is being used
by another active SAS session, then the temporary WORK library is
the default location from which the data set is loaded. The default
data set name is MYOPTS.
Requirement:The SAS library and data set must exist.
- KEY="SAS registry key"
- specifies the location
in the SAS registry of stored SAS system option settings. The registry
is retained in SASUSER. If SASUSER is not available, then the temporary
WORK library is used. For example, KEY="OPTIONS".
Requirements:"SAS registry key"
must be an existing SAS registry key.
You must use quotation marks around the "SAS
registry key" name. Separate the names in a sequence
of key names with a backslash (\). For example, KEY="CORE\OPTIONS".
Copyright © SAS Institute Inc. All rights reserved.