Hi:
I have a few other comments/questions, now that I'm back at my computer.
-- You say that you want output in the LISTING window (output window) and RTF. However, some of your options (such as WIDTH and FLOW will only work in the LISTING window. They do not work in other ODS destinations.
-- I see that the usage of treatment and patcount is GROUP -- but what is the usage for SOC and PT??? Are they character or numeric variables (since you have specified FLOW, they must be character, but is their usage DISPLAY or ORDER or GROUP?? What about GRADE1, GRADE2, GRADE3??? The default usage for numeric variables is SUM.
-- you show this (nested parentheses in the COLUMN statement)
[pre]
columns soc pt (treatment (patcnt grade1 grade2 grade3));
[/pre]
usually this means that you have spanning headers, in this instance, what ARE the spanning headers that you have??? Can you show the actual COLUMN statement that you are using??
--are you seeing a message like this in your log:
[pre]
NOTE: Groups are not created because the usage of soc is DISPLAY. To avoid this note, change all GROUP variables to ORDER variables.
[/pre]
cynthia