Chapter Contents

Previous

Next
GETOPTION

GETOPTION



Returns the value of a SAS system or graphics option

Category: Special


Syntax
Arguments
Examples

Syntax

GETOPTION(option-name<,reporting-options<,...>>)

Arguments

option-name
is the name of the system option.
Note: Do not put an equal sign after the name. For example, write PAGESIZE= as PAGESIZE.

reporting-options
specifies the reporting options. You can separate the options with blanks, or you can specify each reporting option as a separate argument to the GETOPTION function. The reporting options are
IN reports graphic units of measure in inches.
CM reports graphic units of measure in centimeters.
KEYWORD returns option values in a KEYWORD= format that would be suitable for direct use in the SAS OPTIONS or GOPTIONS global statements.


Examples

Note:   The default settings for pagesize and linesize depend on the mode you use to run SAS.   [cautionend]


Chapter Contents

Previous

Next

Top of Page

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