Previous Page | Next Page

The OPTLOAD Procedure

PROC OPTLOAD Statement


PROC OPTLOAD <options>;

Task Option
Load SAS system option settings from an existing registry key KEY=
Load SAS system option settings from an existing data set DATA=


Options

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.

Requirement: The SAS library and data set must exist.
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.
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".

Requirement: "SAS registry key" must be an existing SAS registry key.
Requirement: 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".

Previous Page | Next Page | Top of Page