Date: Mon, 20 May 2002 10:56:25 -0400
Reply-To: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>
Subject: Re: Proc Freq Output
Content-Type: text/plain; charset="iso-8859-1"
Proc Freq does have a simple way to do this, and outputs the correct
variables to it's default dataset. There's no need to transpose.
data names;
input name $ 1-4 a b;
cards;
Mike 8 7
Mike 8 4
Jill 3 6
Dave 3 7
Jill 4 9
Mike 8 3
;
run;
proc freq noprint;
table name / out=freq (keep=name count);
run;
-Brad
|