SYSPARM Function


SYSPARM Function

Returns the system parameter string

Category: Special

Syntax

SYSPARM ()

Details

If the SYSPARM function returns a value to a variable that has not yet been assigned a length, by default the variable is assigned a length of 200.

SYSPARM allows you to access a character string specified with the SYSPARM= system option at SAS invocation or in an OPTIONS statement.

Note: If the SYSPARM= system option is not specified, the SYSPARM function returns a null string.

Example

This example shows the SYSPARM= system option and the SYSPARM function.

 options sysparm='yes';  data a;     If sysparm()='yes' then        do;    SAS Statements    end;  run; 

See Also

System option:

  • 'SYSPARM= System Option' on page 1608




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net