Hi!
I am learning SAS through a few different tutorials but for some reason none of the data I have inputted is generating anything into my Output tab. I've tried multiple entries but it remains empty.
Any suggestions? Screen capture is attached. I am using the regular SAS, not enterprise.
Thanks!
The OUTPUT tab you show is for the LISTING destination and will only have anything if the ODS LISTING destination is open. The OUTPUT tab is also very plain text, as in designed for line printers when green-bar 132 column print output was the norm.
If you want to send results to the OUTPUT tab place this before the steps that create output:
ODS LISTING;
When you no longer want output to go there use:
Ods listing close;
Be aware that the number of columns and rows per "page" are limited in the Output window and may yield ugly results.
Thank you so much, Reeza!
Do you by chance know how to change this setting?
Thanks Reeza! The link helped and I'll make sure to take your advice and watch more recent tutorials. Appreciate it!
Thanks! I started the online SAS one on the website this morning but wanted to do basics on the older software I have first, since the e learning course is taught in Enterprise. I'll check Coursera.
Thanks again
It has both Studio and Enterprise, I meant to say. However my work computer only has SAS 9.4 so I figured it would be best to learn from a tutorial that looks/is set up the same way. Do you recommend otherwise? This is my first day learning so I'm open to any guidance or tips you have!
Thanks.
Hi @nanasarkadoo,
@nanasarkadoo wrote:
However my work computer only has SAS 9.4 so I figured it would be best to learn from a tutorial that looks/is set up the same way.
I agree. I'd even describe your classic, time-tested "Display Manager" interface as a luxury environment for learning SAS programming. Data, programs, logs, outputs, help files and the SAS software itself -- they're all on your local computer, so you are in control and everything works as fast as possible.
In addition to the free courses that have been mentioned, the excellent SAS documentation contains lots of helpful code examples and explanations (as do many posts of the experts on here). I recommend using the built-in HTML help files from the Help menu or, better still, the SAS Documentation Viewer (sasdocviewer.exe), which is part of a standard SAS 9.4 installation (under Windows at least). They are much faster to access and navigate than the online documentation and the content corresponds exactly to your SAS release.
Regarding output generation, I favor the classic listing output (in the Output window) over HTML output most of the time. It's simpler, faster, more compact and often more suitable. For example, in HTML output leading blanks and double blanks in character variables are not displayed and the default proportional font makes it harder to assess character positions or lengths of strings. My default setting in Tools → Options → Preferences... → Results is therefore "Create listing" while the "Create HTML" checkbox is deselected.
Enjoy learning and the SAS Support Communities!
@FreelanceReinh wrote:
They are much faster to access and navigate than the online documentation and the content corresponds exactly to your SAS release.
A very import consideration especially with graphics related output. All of the later releases have significant changes, mostly additions, to graphic capabilities. Finding "options" in documentation that don't exist your install is just plain frustrating.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.