Chapter Contents

Previous

Next
OPTIONS

OPTIONS



Lists the current values of all SAS system options

Language element: procedure
OpenVMS specifics: host options listed


Syntax
Details
See Also

Syntax

PROC OPTIONS <options(s)>;

option(s)
controls the format of the list of system options and the number of items displayed. The value for option(s) can be any of the following:

HOST | NOHOST
displays only host options (HOST) or only portable options (NOHOST). PORTABLE is an alias for NOHOST.

LONG | SHORT
specifies the format for displaying the settings of the SAS system options. LONG lists each system option on a separate line with an explanation. SHORT produces a compressed listing without explanations.

OPTION=option-name <DEFINE> <VALUE>
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.

option-name
specifies the option to use as input to the procedure.

DEFINE
displays the short description of the option, as well as its type and how to get, set, and display its value.

VALUE
displays the option value and scope, as well as how the value was set.

Requirement: If a SAS system option uses an equals sign, such as PAGESIZE=, do not include the equals sign when specifying the option to the OPTION= procedure.


Details

The OPTIONS procedure lists the current settings of the SAS system options.

The portable options (session and configuration) displayed by the OPTIONS procedure are the same for every operating environment, although the default values may differ slightly. However, the host options that PROC OPTIONS displays are different for each operating environment.

Also, some option values depend on which mode of operation you use to run SAS. For example, the default for the LOG= option is LOG under a windowing environment, but in interactive line mode the default is SYS$OUTPUT. Finally, the way you set up your process affects the default values of system options. For example, the default value of the CONFIG= option depends on whether you have defined the OpenVMS logical name SAS$CONFIG in your process.

By using PROC OPTIONS, you can check the values of all system options. For more information about a particular host option, see the entry for the option in System Options.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.