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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 5618 views
  • 1 like
  • 3 in conversation