Talk:Get Name of Program

From sasCommunity
Jump to: navigation, search

What mode supports the SAS_EXECFILEPATH environment variable? When I run interactively using SAS 8.2 on Unix I do not have such a variable.

WARNING: The argument to macro function %SYSGET is not defined as a system variable.
1    %let FileSpec=%sysget(SAS_EXECFILEPATH);

Which environments?

This could be improved by noting whether this technique is applicable to all SAS platforms, and for which ones it works if not.