BookmarkSubscribeRSS Feed
js5
Pyrite | Level 9 js5
Pyrite | Level 9

Hello,

 

we have an .egp file going way back which has now grown to over 15 MB in size. We had internal versioning and embedded programs enabled at some point, but nowadays we store the code in git, SAS programs are external and the .egp file essentialy only contains the execution order.

I opened the file with 7zip and saw lots of folders with random text strings as names, some of them containing code.sas in the deepest subfolder. Is there a way to force a cleanup of this old cruft? Besides recreating the execution order in a fresh .egp file? Thanks!

2 REPLIES 2
ChrisHemedinger
Community Manager

One thing you could try is, yes, creating a new EGP file. Could be quick work as you can copy/paste entire segments from process flows, and all objects in the flow should keep their integrity. Maybe worth an experiment for part of the project and see how it goes.

 

A long-lived EGP (over many iterations and EG versions) can sometimes bloat, and the git history might be contributing to that too, as you point out.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
AlanC
Barite | Level 11

Chris is the guy so I would follow his lead on how to break it up a bit.

 

If you want to understand the structure better, I wrote a utility that will unwind it for you. Free to use, etc.

 

https://github.com/savian-net/SaviEg

 

 

https://github.com/savian-net

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 2 replies
  • 709 views
  • 1 like
  • 3 in conversation