The OPTIONS Procedure |
PROC OPTIONS <option(s)>; |
Task | Option | |
---|---|---|
Choose the format of the listing |
|
|
|
Specify the long form |
LONG |
|
Specify the short form |
SHORT |
|
Display the option's description, type and group
Display the option's value and scope |
DEFINE |
|
Display system option character values as hexadecimal values |
HEXVALUE |
|
When displaying a path, replace an environment variable with its value |
EXPAND |
|
When displaying a path, display the environment variable(s) the option was defined with |
NOEXPAND |
|
Display numeric system option values using commas |
LOGNUMBERFORMAT |
|
Displays numeric system option values without using commas |
NOLOGNUMBERFORMAT |
Restrict the number of options displayed |
|
|
|
Display options belonging to one or more groups |
GROUP= |
|
Display host options only |
HOST |
|
Display portable options only |
NOHOST | PORT |
|
Display a single option |
OPTION= |
|
Display restricted options only |
RESTRICT |
Display groups and group descriptions |
LISTGROUPS |
Options |
displays the short description of the option, the option group, and the option type. It displays information about when the option can be set, whether an option can be restricted, and whether the PROC OPTSAVE will save the option.
Interaction: | This option is ignored when SHORT is specified. |
Featured in: | Displaying the Setting of a Single Option |
specifies whether to replace an environment variable in a path with the value of the environment variable.
displays the path using the value of the environment variable.
displays the path using the environment variable.
Restriction: | Variable expansion is valid only in the Windows and UNIX operating environments. |
Tip: | By default, some option values are displayed with expanded variables. Other options require the EXPAND option on the PROC OPTIONS statement. Use the DEFINE option on the PROC OPTIONS statement to determine whether an option value expands variables by default or if the EXPAND option is required. |
Featured in: | Displaying Expanded Path Environment Variables |
displays the options in one or more groups specified by group-name.
Interaction: | This option is ignored when OPTION= is specified. |
Requirement: | When you specify more than one group, enclose the group names in parenthesis and separate the group names by a space. |
See also: | Displaying Information About System Option Groups |
displays system option character values as hexadecimal values.
specifies whether to display only host options or only portable options.
display only host options.
display only portable options.
Alias: | PORTABLE or PORT is an alias for NOHOST. |
lists the system option groups for all operating environments and a description of each group.
specifies the format for displaying the settings of the SAS system options. LONG lists each option on a separate line with a description; SHORT produces a compressed listing without the descriptions.
Default: | LONG |
Featured in: | Producing the Short Form of the Options Listing |
specifies whether to display numeric system option values using commas.
displays numeric system option values using commas.
displays numeric system option values without using commas.
Featured in: | Displaying the Setting of a Single Option |
See HOST | NOHOST.
displays a short description and the value (if any) of the option specified by option-name. DEFINE and VALUE provide additional information about the option.
specifies the option to use as input to the procedure.
Requirement: | If a SAS system option uses an equal sign, such as PAGESIZE=, do not include the equal sign when specifying the option to OPTION=. |
Featured in: | Displaying the Setting of a Single Option |
displays the system options that have been set by your site administrator in a restricted options configuration file. These options cannot be changed by the user. For each option that is restricted, the RESTRICT option displays the option's value, scope, and how it was set.
If your site administrator has not restricted any options, then the following message appears in the SAS log:
Your Site Administrator has not restricted any SAS options.
See LONG | SHORT.
displays the option value and scope, as well as how the value was set.
Interaction: | This option has no effect when SHORT is specified. |
Featured in: | Displaying the Setting of a Single Option |
Note: SAS options that are passwords, such as EMAILPW and METAPASS, return the value xxxxxxxx and not the actual password.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.