Help using Base SAS procedures

ODS Table Output for PROC Means

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 127
Accepted Solution

ODS Table Output for PROC Means

Dear experts,

 

given the following input:

 

input x var1 var2 var3 var4 var5;
datalines;
20 5 2 4 5 4
25 12 56 13 44 4
20 5 2 4 5 4
25 12 56 13 44 4
20 5 2 4 5 4
25 12 56 13 44 4
. 2 5 6 5 4
;

 

running the following procedure I get the output I want:

 

proc means data=inputs STACKODS n nmiss min max;
var _numeric_ ;
ods output summary=stacked;
;run;

 

but I would like additionally to do not print out the data as in the following proc, where unfortunately the structure of my output is not as expected:

 

proc means data=inputs STACKODS n nmiss min max noprint;
var _numeric_ ;
output out=summary_data
;run;

 

How can I get the ouput from the first proc (stacked) without printing it out?

Thank in advance, SH.


Accepted Solutions
Solution
‎08-25-2016 08:16 AM
Super User
Posts: 17,907

Re: ODS Table Output for PROC Means

Try either turning off listing/HTML destination or ODS exclude all.

 

ods exclude all;

first proc means...

ods select all;

 

ods HTML close;

First proc means....

 

ods html;

 

View solution in original post


All Replies
Super User
Posts: 6,963

Re: ODS Table Output for PROC Means

Use the first version of the proc means, and direct ODS output to a dataset.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎08-25-2016 08:16 AM
Super User
Posts: 17,907

Re: ODS Table Output for PROC Means

Try either turning off listing/HTML destination or ODS exclude all.

 

ods exclude all;

first proc means...

ods select all;

 

ods HTML close;

First proc means....

 

ods html;

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 791 views
  • 1 like
  • 3 in conversation