| Date: | Fri, 25 Jan 2002 11:43:25 -0800 |
| Reply-To: | Rachel Pearce <rpearce@U.WASHINGTON.EDU> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Rachel Pearce <rpearce@U.WASHINGTON.EDU> |
| Organization: | University of Washington |
| Subject: | Simple error in PROC MEANS - what am I doing wrong? |
|---|
Hi All,
I am running a very simple proc means to obtain a dataset containing
just the means of the variables I am interested in and an identifier
variable.
I want to inherit the variable names etc. from the input dataset.
I get the error shown below in my log file, and I just cannot see what is
wrong.
Can anyone see what is happening? For those of us trapped (like me) in
a proportionally spaced font, the error is marked at the semi-colon at the
end of line 272.
I can run the code satisfactorily without the "mean" in that line, but then
of course I get lots of unwanted observations for N, MIN, MAX, STD,
thus quintupling the size of my output dataset.
Rachel
269 proc means data=mydata;
270 var a b c d e f g;
271 by id;
NOTE: SCL source line.
272 output out=meandata mean;
-
73
ERROR 73-322: Expecting an =.
273 run;
|