Set &_program macro-variable to the path of the program by clicking RUN in Studio
jbodart-argenx opened this issue ยท comments
If I LAUNCH
a sas program from the CODE tab in Studio, I can retrieve the program path & name as macro &_program.
But if I RUN
it, it seems there is no way to retrieve the program path as neither &_program nor environment variable SAS_EXECFILEPATH are set.
Could either option be enabled ?
I think it does make sense to enable the injection of %let _program=/drive/path/to/file;
in Studio, especially as it is geared towards app developers.
SAS_EXECFILEPATH
makes less sense as that represents a local filesystem location (I appreciate that in desktop mode it is local, but in server mode that may not be the case).
Note that the _PROGRAM value does not normally include the .sas
extension.
๐ This issue has been resolved in version 0.21.2 ๐
The release is available on:
- GitHub release
v0.21.2
Your semantic-release bot ๐ฆ๐