- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please use the below step after the data step and get the output automatically in the output.
proc print data=eu_occ2016;
run;
Jag
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Jag
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much!
-BT
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please use the below step after the data step and get the output automatically in the output.
proc print data=eu_occ2016;
run;
Jag
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you ever switch to using Enterprise Guide as your SAS development interface, output datasets can be displayed automatically without any coding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.