As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


%SYSGET macro function

From sasCommunity
Revision as of 16:29, 1 November 2014 by Cameron (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)