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

Hi there, 

I am having an issue with a PROC ANOVA ODS OUTPUT. 

Here is my code. 

ODS TRACE ON;
ODS OUTPUT ANOVAResults= WORK.AnovaResults;
PROC ANOVA
DATA= Hypertension.Analysis
ORDER = INTERNAL;
CLASS StateCd;
MODEL AgeAtVisit = StateCd;
RUN;
QUIT;
ODS TRACE OFF;

and here is the log I am getting...

 

WARNING: Output 'ANOVAResults' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,
verify that the appropriate procedure options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used.
Any idea why I am not able to create "ANOVA Results"

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
There is no table called AnovaResults.

There is an output table called ModelAnova or OverallAnova.

Names are documented here:
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...

View solution in original post

2 REPLIES 2
Reeza
Super User
There is no table called AnovaResults.

There is an output table called ModelAnova or OverallAnova.

Names are documented here:
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...
patrickjharvey
Calcite | Level 5

Hi,

 

The problem seems to be in the ODS OUTPUT statement. Instead of writing ANOVAResults, it should be OverallANOVA. Should look similar to this:

ODS OUTPUT OverallANOVA  =	libref.datasetname

 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1241 views
  • 0 likes
  • 3 in conversation