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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.