Chapter Contents

Previous

Next
SYSPARM

SYSPARM



Returns the system parameter string

Category: Special


Syntax
Details
Example
See Also

Syntax

SYSPARM()


Details

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.  [cautionend]


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=


Chapter Contents

Previous

Next

Top of Page

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