Hi,
I am new to SAS. I am trying to learn the basics. I am going through the fundamentals. My question is that I cannot seem to see the output after running my code. There are no errors in the log file. Following is what I ran (and attached jpeg is the screenshot of the details). Would appreciate any help!
************************
data eu_occ2016;
set pg1.eu_occ;
where YearMon like "2016%";
format Hotel ShortStay Camp comma17.;
drop geo;
run;
************************
Thanks,
-BT
Please use the below step after the data step and get the output automatically in the output.
proc print data=eu_occ2016;
run;
Thank you so much!
-BT
You are running a DATA step where the only output is a dataset called eu_occ2016.
You will find this dataset in your SAS WORK library.
Thank you, much appreciated! Yes, the dataset is there. I guess my question is how do I organize the settings in such a way that I am able to see the output as soon as I run the command? I do not want want to dig into a folder to see what my output looks like.
Thanks much!
-BT
Please use the below step after the data step and get the output automatically in the output.
proc print data=eu_occ2016;
run;
If you ever switch to using Enterprise Guide as your SAS development interface, output datasets can be displayed automatically without any coding.
@bishythapa wrote:
Thank you, much appreciated! Yes, the dataset is there. I guess my question is how do I organize the settings in such a way that I am able to see the output as soon as I run the command? I do not want want to dig into a folder to see what my output looks like.
Thanks much!
-BT
You first have to run some code that actually produces output.
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 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.