BookmarkSubscribeRSS Feed
Restonian
Calcite | Level 5

When developing a large project in E.G. 4.3, I'll often do one off queries using the filter and sort wizard to validate my work.  I then go through the project and delete these steps and the generated code as I no longer need them. Is there a way to prevent these steps from being added to the project?

Thanks!

3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12

In a word, No.

Astounding
PROC Star

Another thought to ponder ...

Maybe the right thing to do is to turn the steps into macros instead of removing them.

Each macro definition would begin with:

%if diagnostics=ON %then %do;

And the entire process flow would begin with %let diagnostics=OFF;

In that way, those steps would not normally run.  But if you ever have trouble with debugging down the road, you can just change one line at the beginning:

%let diagnostics=ON;

Then all those steps that never normally execute would suddenly come to life.

Good luck.

SASKiwi
PROC Star

By way of further explanation, the Process Flow and Process Steps in EG are integral to the way it works. Even if you write just code in EG, it will automatically get added to the Process Flow as a new Process Step when you run the code. There is no way to stop this happening.

One of the few analytical functions that is not added as a Process Step is the Explore Table facility available in EG 5.1 and later. If you have 5.1 then this might be worth checking out but be warned it doesn't work on SAS WORK (temporary) tables or on tables in external databases. This limits its usefulness in my opinion.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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