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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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