Search notes:

SAS programming, function sysget

sysget(var) returns the value an environment variable.
data _null_;

  home = sysget('HOME');
  user = sysget('USER');

  put 'HOME = ' home;
  put 'USER = ' user;
  
run;
Github repository about-SAS, path: /programming/functions/sysget.sas

See also

%sysget macro function
functions

Index