BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PoulRavn
Obsidian | Level 7

Hi, as said in the title, I need to re-organize some folder locations. When I create an EG project and save it the first time, I have to chose where to save it. Later when I add SAS program to the project I save these at the same location as the *.egp file. I've found this to be impractical in the sens, that if I want to move the project, - and do this in a copy/paste operation, then the SAS program files are still referenced to the old location. If I were to move them (the SAS program in the project) as well in the copy/paste operation, the project does not find them, because it looks in the old location.

I find this kind of unpractical, as it can happen sometimes that oen needs to move a project and its associated files at the same time.

Regards Poul

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Talk about steep learning curves Smiley Wink

When you do New - Program in Enterprise Guide, the code stays embedded in the project file and is saved with it until you do Save as.. on the program.

If you open an external program, a link to the external file is created within the project. To embed this, right click on the program name in the project tree, select Properties, and there you will find a button Embed.

View solution in original post

4 REPLIES 4
PoulRavn
Obsidian | Level 7

Sorry Kurt, what do you mean 'embedded'? I always supposed, that the EG associated SAS programs existed as separate files located in folders, and that what the project did was to 'collect' these in a project list of SAS programs. What you say, indicate that there is another way of doing it. That must have eluded me, when I switched to EG fra base PC SAS.

Regards

Poul

Kurt_Bremser
Super User

Talk about steep learning curves Smiley Wink

When you do New - Program in Enterprise Guide, the code stays embedded in the project file and is saved with it until you do Save as.. on the program.

If you open an external program, a link to the external file is created within the project. To embed this, right click on the program name in the project tree, select Properties, and there you will find a button Embed.

ChrisHemedinger
Community Manager

Another approach: you can use the "relative path" feature in SAS Enterprise Guide to keep your EGP file and SAS files all resolving properly, no matter where you move them.  See this topic for more details:

http://blogs.sas.com/content/sasdummy/2012/10/29/scm-with-sas-eg/

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 4 replies
  • 6216 views
  • 3 likes
  • 3 in conversation