Dear SAS Community,
I am trying to get my output to print to the listing window instead of HTML. I am using SAS 9.4 and I have set my preferences to revert back to the SAS 9.2 way of display (under Tools/Preferences uncheck "Create HTML", uncheck "Use ODS Graphics" and check "Create Listing". Whenever I run a proc I get the "WARNING: No output destinations active." and no output anywhere.
When I run
ODS LISTING;
ODS LISTING SHOW;
Proc Means data=sashelp.class;run;
I get this output:
1587 ODS LISTING;
1588 ODS LISTING SHOW;
Current LISTING select list is set to default value (ALL).
Current OVERALL select list is: ALL
1589 Proc Means data=sashelp.class;run;
WARNING: No output destinations active.
How can I open output destinations? I thought "PROC LISTING;" was supposed to do that.
Thanks,
Eric
If you run the following what do you get?
ods listing;
ods results;
proc means data=sashelp.class;
run;
If you run the following what do you get?
ods listing;
ods results;
proc means data=sashelp.class;
run;
1590 ods listing;
1591 ods results;
1592 proc means data=sashelp.class;
1593 run;
WARNING: No output destinations active.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The PROCEDURE MEANS printed page 27.
NOTE: PROCEDURE MEANS used (Total process time):
Nope, SAS Release 9.04.01M3P062415 on WS32_7PRO
So, it turns out Reeza's solution was mostly correct. I do a lot of remote submits to an external server, so I had to do both:
ods listing;
ods results;
*AND*
rsubmit;
ods listing;
ods results;
to gt the proc means statement to run.
proc means data=sashelp.class;
run;
I wish SAS hadn't changed the ODS output settings in 9.4, they've caused me nothing but trouble.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.