%SYSGET macro function

From sasCommunity
Jump to: navigation, search

%SYSGET is a macro function.

Macro function sysget

Get the value of an environment (system) variable

Syntax:

%sysget(e-var-name)

To see the list of environment variables:

proc options define value option = set;run;
 
proc sql; select * 
          from Dictionary.Options 
          where OptName eq 'SET';
          quit;

--macro maven == the radical programmer 17:11, 16 August 2007 (EDT)