BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
astein2
Calcite | Level 5

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?

1 ACCEPTED SOLUTION

Accepted Solutions
3 REPLIES 3
Kurt_Bremser
Super User

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
Calcite | Level 5
Thank you. Sorry for such a newbie question.

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
  • 7008 views
  • 0 likes
  • 2 in conversation