Date: Wed, 18 Jun 2008 17:50:14 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: How to add the whole column together
Try something like the following:
proc summary data=sum;
OUTPUT out=summ (drop=_:) SUM(covsum)=convsum;
On Wed, 18 Jun 2008 14:38:07 -0700, Carol <caroline5658@YAHOO.COM> wrote:
>On Jun 18, 3:38 pm, datan...@GMAIL.COM ("data _null_,") wrote:
>> PROC SUMMARY
>> On 6/18/08, Carol <caroline5...@yahoo.com> wrote:
>> > I need to add up the whole column to get one of total number.
>> > Which proc I can use to get the total number?
>> > Thanks!- Hide quoted text -
>> - Show quoted text -
>I use proc means noprint to get the sum of variable of covsum. But
>there's error in log, where's problem?
> proc means noprint data=sum;
>3691 VAR COVSUM;
>3692 OUTPUT out=summ;
>ERROR 180-322: Statement is not valid or it is used out of proper