OPTIONS Procedure

Example 2: Displaying the Setting of a Single Option

PROC OPTIONS statement option: :


This example shows how to display the setting of a single SAS system option. The log shows the current setting of the SAS system option MEMBLKSZ. The DEFINE and VALUE options display additional information. The LOGNUMBERFORMAT displays the value using commas.


proc options option=memblksz define value lognumberformat;

Program Description

Specify the MEMBLKSZ SAS system option. OPTION=MEMBLKSZ displays option value information. DEFINE and VALUE display additional information. LOGNUMBERFORMAT specifies to format the value using commas.
proc options option=memblksz define value lognumberformat;


Log Output from Specifying the MEMBLKSZ Option

13   proc options option=memblksz define value lognumberformat;
14   run;

    SAS (r) Proprietary Software Release xxx

Option Value Information For SAS Option MEMBLKSZ
    Value: 16,777,216
    Scope: Default
    How option value set: Shipped Default

Option Definition Information for SAS Option MEMBLKSZ
    Group= MEMORY
    Group Description: Memory settings
    Description: Size of memory blocks allocated to support MEMLIB and MEMCACHE options.
    Type: The option value is of type INTMAX
          Range of Values: The minimum is 0 and the maximum is 9223372036854775807
          Valid Syntax(any casing): MIN|MAX|n|nK|nM|nG|nT|hexadecimal
    Numeric Format: Usage of LOGNUMBERFORMAT does not impact the value format
    When Can Set: Session startup (command line or config) only
    Restricted: Your Site Administrator can restrict modification of this option
    Optsave: PROC Optsave or command Dmoptsave will not save this option