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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.