Open smorrisj opened 1 day ago
I saw this referenced in another issue, but also a macro var that identifies the client app would be useful. We have customers who want to adapt their programs to be aware that they are running in VS Code.
EG does this:
GLOBAL _CLIENTAPP 'SAS Enterprise Guide'
GLOBAL _CLIENTAPPABBREV EG
Is your feature request related to a problem? Please describe. Request to add _SASPROGRAMDIR macro variable to our existing set.
Describe the solution you'd like When a user sas file is executed, we'd like to have access to the directory that the file is running in, via a macro variable named _SASPROGRAMDIR. If the path to my sas file is /test/myfile.sas, then I would expect _SASPROGRAMDIR to have the value /test. This would be super useful in having the ability to use relative links.