BookmarkSubscribeRSS Feed
jcorlette
Calcite | Level 5
New to using EG (my version is 4.1), but I am trying to use a macro program saved as a .sas file. I am referencing the saved .sas file in a %include statement. I am confused as to where EG will look for the file. From my reading, I take it that with this statement EG looks for the external file to be on my actual hard drive or can I save this file to the EG project that I am working in and the program will find it?
1 REPLY 1
SASKiwi
PROC Star
The answer depends on the SAS server your EG is connecting to. It is possible for EG to use SAS on your desktop, but only if a complete SAS install has been done and not just EG. In this scenario a %include will look on your desktop hard drive.

More typically EG connects to remote SAS servers so it will be the hard drives of those servers where a %include will look. Check your EG connection to confirm where SAS is running.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1083 views
  • 0 likes
  • 2 in conversation