set SAS_EXECFILEPATH environment variable to the file path from which SAS code is being submitted
jbodart-argenx opened this issue ยท comments
Jean-Michel Bodart commented
To be able to identify from which file the SAS code was submitted it would be great to set the environment variable SAS_EXECFILEPATH to the path of that file.
this could be done using injected SAS code such as:
option set=SAS_EXECFILEPATH="c:\test\path\program.sas";
Then it can be retrieved with:
%if %sysfunc(sysexist(SAS_EXECFILEPATH)) %then %do;
%put SAS_EXECFILEPATH=%sysget(SAS_EXECFILEPATH);
%end;
SASjs Bot commented
๐ This issue has been resolved in version 1.21.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
Allan Bowe commented