sasjs / server

Build Apps on Base SAS

Home Page:https://server.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€