Hello
I'm looking for someone to help me with Enterprise Guide (7.11) if you can. I'm usually a Base SAS user and would quite often run a bit of code, review the results, then run the next bit of code and compare the results in the same output window. In EG it always pops up asking whether I want to replace results from previous run, or save changes to a new program. I don't want to do either. I want the same results in the same program so that I can then compare results without having two programs open.
I know you can remove the pop up box and always accept the replacement, but this is not the option I need to compare results. How do you compare results if running code in steps?
Thanks
Copy your program to a new program, change the name of the output and run it. Then compare the results to the first run.
Thanks, so it can't be done like it is in base SAS without copying or creating a new program?
Even in Base SAS, you have to have the 2nd results go to a different dataset to avoid overwriting the first set of results. Same in EG.
Unless you're trying to do something different...sounded like you're trying to compare the results of 2 slightly different programs, right?
Hopefully the example below might help with what I am asking:
proc means data=test n mean;
var age;
class sex;
run;
proc means data=test n mean;
var age;
class sex;
where num_children eq 0;
run;
If I run the first proc means in Base SAS review the output, then decide I want to see a comparison of the results where number of children is zero, I can run the second proc means and see the average ages of the two proc means in the same output window.
If I do the same in EG I could run the first one and see the output. When trying to run the second one it would ask me to replace or open it up in a new program. I don't want to do either because I want a comparison so I don't want to replace, and I don't want other programs being opened. To get them in the same output window I would need to run both bits of code at the same time. If they take time to run, or have other code in between this is not optimal.
Hopefully this makes it clearer.
Thanks
Use the output option for proc means and then you can use compare the results....maybe with proc compare. 🙂
Ok, Thanks. it seems like there isn't a way to do it the same way as in Base SAS without writing additional code for something that should be really easy to do. Just another failing of Enterprise Guide hey!
I haven't used base SAS in 30 years, but I prefer to keep my outputs separate to reduce confusion.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: