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

Hi, 

 

I am using SAS EG, and after the 'Proc Genmod' part (Poisson Regression) 

result is printed out in the output tab 'Results'.  Can I not print the result? I searched and found that 'no print' is not available for this procedure. 

 

My code: 

 

		proc genmod data=Table_A;
			class C4 C5;
			by C1 C2 C3;
			model C6 = C4 C5/ dist=poisson
			link=log scale=pearson;
			output out=Table_B p=Opt;
		run;
		ods exclude all; 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

ODS statements go before or in the PROC. If it's after it affects the next procedure.

View solution in original post

4 REPLIES 4
Reeza
Super User

http://blogs.sas.com/content/iml/2015/05/26/suppress-ods.html

 

The instructions above show how to supress the output.

Miracle
Barite | Level 11

Try using ods as stated in the last paragraph here

 

 

Crubal
Quartz | Level 8

Thanks! It works. 

Reeza
Super User

ODS statements go before or in the PROC. If it's after it affects the next procedure.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4 replies
  • 4686 views
  • 1 like
  • 3 in conversation