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
Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
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.    

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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