I have SAS EG and I want to use the %include statement to call a SAS script that is saved outside UNIX (in a shared drive). I would like to do this without having to move the scripts into UNIX.
SAS has to have a way to access the file, so it has to be somewhere it has access to via a shared drive or on unix. If the 'shared drive' is not accessible from SAS you have to move it from Unix. To determine what's accessible you'll have to discuss this with your IT team.
@tjsari wrote:
I have SAS EG and I want to use the %include statement to call a SAS script that is saved outside UNIX (in a shared drive). I would like to do this without having to move the scripts into UNIX.
%include works from the file system, so any resource that you want to include from has to be mounted on your UNIX.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.