***Demo.SAS; options formdlim='_' pageno=1; DATA CULT; INPUT Rep Cultivar $ Inoc $ DryWt @@; Dr2=drywt*2; Dr3=drywt*3; Dr4=drywt*4; CARDS; 1 A CONT 27.4 1 A DEAD 29.7 1 A LIVE 34.5 1 B CONT 29.4 1 B DEAD 32.5 1 B LIVE 34.4 2 A CONT 28.9 2 A DEAD 28.7 2 A LIVE 33.4 2 B CONT 28.7 2 B DEAD 32.4 2 B LIVE 36.4 3 A CONT 28.6 3 A DEAD 29.7 3 A LIVE 32.9 3 B CONT 27.2 3 B DEAD 29.1 3 B LIVE 32.6 4 A CONT 26.7 4 A DEAD 28.9 4 A LIVE 31.8 4 B CONT 26.8 4 B DEAD 30.6 4 B LIVE 30.7 ; RUN; ***Multiple RTF files; **Tip: You can multiple occurrences of the same destination, so you do not have to run the program multiple times; **Tip: You can look up the ODS Table Names in help and add to favorites; ODS rtf(1) file='modelanova.rtf'; ODS rtf(1) SELECT modelanova; Ods rtf(1) show; ODS rtf(2) file='mean.rtf'; ODS rtf(2) SELECT means; ods rtf(2) show; ODS show; ODS listing close; PROC ANOVA DATA=cult; CLASS rep cultivar inoc; MODEL drywt dr2 = rep cultivar rep*cultivar inoc inoc*cultivar; TEST H=cultivar E=rep*cultivar; MEANS cultivar|inoc; RUN; QUIT; ODS rtf(1) close; ODS rtf(2) close;