BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ewgrashorn
Obsidian | Level 7

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

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

If you run the following what do you get?

 

ods listing;

ods results;

proc means data=sashelp.class;

run;

 

View solution in original post

5 REPLIES 5
Reeza
Super User

If you run the following what do you get?

 

ods listing;

ods results;

proc means data=sashelp.class;

run;

 

ewgrashorn
Obsidian | Level 7

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):

 

Cynthia_sas
SAS Super FREQ
Are you using SAS University Edition? Or SAS on the Amazon AWS? Just curious.
cynthia
ewgrashorn
Obsidian | Level 7

Nope, SAS Release 9.04.01M3P062415 on WS32_7PRO

ewgrashorn
Obsidian | Level 7

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.

 

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 21741 views
  • 1 like
  • 3 in conversation