Hi All,
I am new to SAS EG.I am trying to figure out how I can get the path name of a sas programs which are residing in the server ,using SAS EG.
In PC SAS ,I can give the name of the program by going to windows explorer and go into the respective drive and folder and copy the path name and use that in the SAS program.
I don't know if SAS EG has anything similar to that when it comes to SAS program files.I noticed that if there is a SAS dataset ,I can right click it and get the path name of the SAS dataset in EG,but that option is not
available for SAS programs.
Please let me know.
Thanks
The &_SASPROGRAMFILE macro variable, set by EG, might help.
See:
Special automatic macro variables available in SAS Enterprise Guide - The SAS Dummy
Chris
The &_SASPROGRAMFILE macro variable, set by EG, might help.
See:
Special automatic macro variables available in SAS Enterprise Guide - The SAS Dummy
Chris
Thanks Chris.
Not solved. this doesnt work.
If you're having trouble with this, can you post as a new question? This is a solved topic and your situation might be different. Share some details from your SAS log and how your SAS program is included in the EG project.
Apologies, the situation was a bit different. The automatic macro variables that contain path info are different between Base SAS, SAS EG and SAS running on UNIX. I had to write code that worked on every platform, not just EG.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.