BookmarkSubscribeRSS Feed
IljaMett
Calcite | Level 5
Hi there,

I have a probably rather simple question concerning SAS EG 4.2

Some of my projects consist of quite a lot different SAS code objects, which all produce some output - mainly SAS data sets - which are used by subsequent routines.
However, most of the data sets which are generated during the job are not needed any more afterwards.

Is there a way to remove those unnecessary data sets from the process flow (other than deleting them manually after the job is finished), so that it does not look so crowded any more?

I would appreciate any help.

Best regards,
Ilja
4 REPLIES 4
twocanbazza
Quartz | Level 8
at the end of your user written code/programs ...

do a proc datasets delete. selecting all of the datasets that are nolonger used

Barry
IljaMett
Calcite | Level 5
Hi Barry,

thanks for your answer.
Unfortunately this is exactly what I cannot do, since the data sets are used by subsequent routines.
If I delete them at the end of the complete process flow, when they really are not needed any more, then the datasets are gone, but their icons are still displayed and just give an error message if you try to open them...

Best regards,
Ilja
ChrisHemedinger
Community Manager
Not that I should perpetuate undocumented features, but this might be of interest:

http://blogs.sas.com/sasdummy/index.php?/archives/248-Undocumented-features-theres-a-reason-they-are...

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!
simmwa
Fluorite | Level 6

I have been looking for a solution for this for years. Just realised today that the easiest way for me is to CTRL-A select everything in your process flow, then CTRL-select to deselect the programs/outputs you want to keep and hit delete. You can  visually check from the supplied list that you are deleting the unwanted outputs.    

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
  • 4 replies
  • 5261 views
  • 0 likes
  • 4 in conversation