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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.