OPTIONS Procedure

Displaying Information about One or More Options

To view the setting of one or more particular options, you can use the OPTION= and DEFINE options in the PROC OPTIONS statement. The following example shows a log that PROC OPTIONS produces for a single SAS system option.
proc options option=errorcheck define;
run; 
The Setting of a Single SAS System Option
11    proc options option=errorcheck define;
2    run;

    SAS (r) Proprietary Software Release xxx  TS1B0

 ERRORCHECK=NORMAL
Option Definition Information for SAS Option ERRORCHECK
    Group= ERRORHANDLING
    Group Description: Error messages and error conditions settings
    Description: Level of special error processing to be performed
    Type: The option value is of type CHARACTER
          Maximum Number of Characters: 10
          Casing: The option value is retained uppercased
          Quotes: If present during "set", start and end quotes are removed
          Parentheses: The option value does not require enclosure within parentheses. If present, the parentheses are
          retained.
          Expansion: Environment variables, within the option value, are not expanded
          Number of valid values: 2
               Valid value: NORMAL
               Valid value: STRICT
    When Can Set: Startup or anytime during the SAS Session
    Restricted: Your Site Administrator can restrict modification of this option
    Optsave: PROC Optsave or command Dmoptsave will save this option
To view the settings for more than one option, enclose the options in parentheses and separate the options with a space:
proc options option=(pdfsecurity pdfpassword) define;
run;
The Settings of Two SAS System Options
7    proc options option=(pdfsecurity pdfpassword) define;
8    run;

    SAS (r) Proprietary Software Release xxx  TS1B0

 PDFSECURITY=NONE
Option Definition Information for SAS Option PDFSECURITY
    Group= PDF
    Group Description: PDF settings
    Group= SECURITY
    Group Description: Security settings
    Description: Identify the level of PDF document encryption
    Type: The option value is of type CHARACTER
          Maximum Number of Characters: 4
          Casing: The option value is retained uppercased
          Quotes: If present during "set", start and end quotes are removed
          Parentheses: The option value does not require enclosure within parentheses. If present, the parentheses are
          retained.
          Expansion: Environment variables, within the option value, are not expanded
          Number of valid values: 3
               Valid value: HIGH
               Valid value: LOW
               Valid value: NONE
    When Can Set: Startup or anytime during the SAS Session
    Restricted: Your Site Administrator can restrict modification of this option
    Optsave: PROC Optsave or command Dmoptsave will save this option
 PDFPASSWORD=xxxxxxxx
Option Definition Information for SAS Option PDFPASSWORD
    Group= PDF
    Group Description: PDF settings
    Group= SECURITY
    Group Description: Security settings
    Description: PDF open and owner passwords
    Type: The option value is of type CHARACTER
          Maximum Number of Characters: 2048
          Casing: The option value is retained with original casing
          Quotes: If present during "set", start and end quotes are removed
          Parentheses: The option value must be enclosed within parentheses. The parentheses are retained.
          Password Option Value: Can not Print or Display
          Expansion: Environment variables, within the option value, are not expanded
    When Can Set: Startup or anytime during the SAS Session
    Restricted: Your Site Administrator cannot restrict modification of this option
    Optsave: PROC Optsave or command Dmoptsave will not save this option