In addition to the Anova code you are running it may help to run Proc Contents on the data set used and share the result with us.
If "2000" means a year and you have a large data set that may be an issue.
Or if you are using a large number of variables.