My SAS EGs can get cluttered with temporary data sets in the project tree. I need to use these while I am in the active session. However, when I end the session I would love to clear out all the temp data sets listed there. I know with proc data sets you can delete them from the work directory, but they still show up in the project tree. I would be great to clean them out when closing.
The clutter would be gone once you open the EG the next time.
Is there any method to do this?
these all show up when I open a new session even though they are temporary
One approach is not to have the clutter in the first place. You do this by setting the maximum number of datasets to output option to 0. This means no datasets are added to your project but you can still open them from the WORK or permanent library they are in.
I know about that option. However, I am always testing these datasets. So, It just handier to have them there. There needs to be a way to remove them when you close the session.. Only leaving permanent datasets behind.
I'm not aware of any option to do this in the current version of EG - 7.15. EG 8 due out possibly next year will add new functionality that may help including the ability to turn off Process Flows completely if you are only coding.
Great suggestion. I have occasionally encountered errors using SAS EG because of the temporary datasets showing in the Process Flow if I get disconnected and then log back in to our GRID environment.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.