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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.