BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
icipeb
Fluorite | Level 6

Hi,

 

I am producing a series of tables using PROC SURVEYMEANS and would like to suppress 3 tables that, by default, are part of the output namely: 

Data Summary

Variance Estimation

Statistics

How can this be done?

If not possible, could you suggest a way to remove them?

Thanks in advance for your help.

Erik 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Use ODS SELECT <list of desired tables>; to keep specific ones

or

ODS EXCLUDE <list of unwanted tables>;

prior to the Proc statement.

 

I think you want:

ods exclude statistics summary varianceestimation;

note that the table names are one word, no punctuation. Do not assume the name is always that close to the title in the output.

 

If you are not sure of the names of the tables you can look up the actual table names in the Details section of the online help for the procedure or use ODS Trace on/off ; before and after the procedure one time to display the names of all the output tables generated then place them on the desired ODS Select/ exclude;

View solution in original post

3 REPLIES 3
ballardw
Super User

Use ODS SELECT <list of desired tables>; to keep specific ones

or

ODS EXCLUDE <list of unwanted tables>;

prior to the Proc statement.

 

I think you want:

ods exclude statistics summary varianceestimation;

note that the table names are one word, no punctuation. Do not assume the name is always that close to the title in the output.

 

If you are not sure of the names of the tables you can look up the actual table names in the Details section of the online help for the procedure or use ODS Trace on/off ; before and after the procedure one time to display the names of all the output tables generated then place them on the desired ODS Select/ exclude;

icipeb
Fluorite | Level 6

Amazing!

 

Thank you so much for your help!

 

Erik

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 607 views
  • 0 likes
  • 3 in conversation