The following statements are available in PROC ANOVA.
The PROC ANOVA, CLASS, and MODEL statements are required, and they must precede the first RUN statement. The CLASS statement must precede the MODEL statement. If you use the ABSORB, FREQ, or BY statement, it must precede the first RUN statement. The MANOVA, MEANS, REPEATED, and TEST statements must follow the MODEL statement, and they can be specified in any order. These four statements can also appear after the first RUN statement.
Table 24.1 summarizes the function of each statement (other than the PROC statement) in the ANOVA procedure:
Statement 
Description 

absorbs classification effects in a model 

specifies variables to define subgroups for the analysis 

declares classification variables 

specifies a frequency variable 

performs a multivariate analysis of variance 

computes and compares means 

defines the model to be fit 

performs multivariate and univariate repeated measures analysis of variance 

constructs tests that use the sums of squares for effects and the error term you specify 