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!
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.
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
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.
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.
Ready to level-up your skills? Choose your own adventure.