Date: Sun, 6 Apr 1997 08:17:13 +1200
Reply-To: Tom Robinson <Tom.Robinson@ACTRIX.GEN.NZ>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Tom Robinson <Tom.Robinson@ACTRIX.GEN.NZ>
Organization: Actrix Networks Limited
Subject: Re: Summation by month
In article <firstname.lastname@example.org>, email@example.com
(Christopher W. Donald) wrote:
>This may be an elementary question, but I am trying to figure out
>another more efficient manner to do calculate totals by month.
>Assume data looking like
>To sum by month I would create mon1=month(Trandate)
>yea1 = year(Trandate);
Nah, just do:
proc summary missing nway;
format trandate monyy7.;
output out=work.summary sum=;
8 Bare Customer: "I'm running Windows '95."
o-+-o Foot Tech Support: "Yes."
< > Guru Customer: "My computer isn't working now."
Tech Support: "Yes, you said that."