SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sir_Highbury
Quartz | Level 8

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

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

2 REPLIES 2
Reeza
Super User

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;

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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