I am transitioning from Base SAS to Enterprise Guide and am trying to figure out how to maintain my interactive workflow. In Base SAS, I will typically run code line by line while I am testing to so that I can carefully watch the log. I have figured out how to do this using the project log in EG, but I am running into an issue with finding datasets after I run another step. For example, consider the following nonsensical code:
data test;
infile datalines delimiter=',';
input var1 $ var2 ;
datalines;
a , 1
b, 2
c,3
;
%put hello world;
data test2;
set test;
if var2=1 then var2=4;
run;
When I run the first data step, 'test' is created and I can see it in the process flow. Then, when I run the put statement, the dataset 'test' disappears from the process flow. Where did it go? How do I see my working directory? When I run the second data step, 'test2' is successfully created. Therefore, the dataset 'test' must still exist as it is being used to create 'test2', but I don't see it in the process flow to view it. How do I view datasets after running additional lines of code?
You can set EG to automatically add results to the process flow (Tools - Options - Results)
To see datasets in your WORK, navigate to SASApp - Libraries - WORK in the server list.
You can set EG to automatically add results to the process flow (Tools - Options - Results)
To see datasets in your WORK, navigate to SASApp - Libraries - WORK in the server list.
@astein2 wrote:
Thank you. Sorry for such a newbie question.
No problem. Getting used to the peculiarities of user interfaces takes its time.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.