Chapter Contents |
Previous |
Next |
SAS Companion for the Microsoft Windows Environment |
The behavior of the %SYSGET macro function is specific to Windows:
%SYSGET(environment-variable-name); |
Here is an example of using the %SYSGET function:
%let var1=%sysget(comspec); %put The COMSPEC environment variable is &var1;The following line is written to the SAS log:
The COMSPEC environment variable is C:\winnt\system\command.exe
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.