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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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