BookmarkSubscribeRSS Feed
DaveShea
Lapis Lazuli | Level 10
Hi,

I'm relatively new to EG but long in the tooth on SAS.

When I run a code node in EG, the resultant datasets appear in the Project Designer. Is there an option to tell EG to NOT display these icons on the Project Designer. I have already turned off the automatic open dataset on completion, but I really want my Project Designer to be a little more tidy so that I can see what is going on. At present, a long-ish code node makes the Project Designer very difficult to navigate.

Any thoughts anyone ?

Cheers

(Down Under) Dave.
2 REPLIES 2
ChrisHemedinger
Community Manager
Dave,

The way that the code node works: if the SAS program results in a new or changed data set, EG adds the data reference to the project. And once added, it shows in project explorer/designer -- no way to suppress that right now.

The data references added reflect only the net result of the program, not including any data that might have been created and subsequently deleted during the course of the program. So if you don't need the data at all after the program is done, you can add some PROC DATASETS statements at the end to remove it (or PROC SQL DROP TABLE statements...whatever works for you).

Another trick: you can CLEAR the libref at the end of the program -- that's as good as deleting the data as far EG is concerned because it cannot confirm its existence. For example, this program:

libname foo "c:\temp";
data foo.class;
set sashelp.class;
run;
libname foo clear;

Will not add foo.class to your project, even though "c:\temp\class.sas7bdat" still exists when you're done. You could then reassign the library in a subsequent code node if needed.

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!
DaveShea
Lapis Lazuli | Level 10
Hi Chris,

Thanks for your swfit reply and your workaround suggestions. I guess I will wait for the next ballot to come around to see if an option can be added.

Many thanks.

Dave.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 933 views
  • 0 likes
  • 2 in conversation