Desktop productivity for business analysts and programmers

SAS EG 4.2: Dropping objects from process flow

Reply
Occasional Contributor
Posts: 6

SAS EG 4.2: Dropping objects from process flow

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
Super Contributor
Posts: 356

Re: SAS EG 4.2: Dropping objects from process flow

at the end of your user written code/programs ...

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

Barry
Occasional Contributor
Posts: 6

Re: SAS EG 4.2: Dropping objects from process flow

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
Community Manager
Posts: 2,889

Re: SAS EG 4.2: Dropping objects from process flow

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
Ask a Question
Discussion stats
  • 3 replies
  • 144 views
  • 0 likes
  • 3 in conversation