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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1001 views
  • 0 likes
  • 2 in conversation