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