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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 809 views
  • 0 likes
  • 4 in conversation