LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 1997, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 24 Mar 1997 20:02:14 -0600
Reply-To:     jdevon@predictive.com
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         jdevon@PREDICTIVE.COM
Organization: Deja News Usenet Posting Service
Subject:      sum variables after proc transpose

Hi. I'm new to SAS and have a question:

I have a macro which takes a sas dataset, and does a proc transpose on the data, keeping all of the variables except X, which is being transposed with:

ID X;

However, since the macro was meant to be generic, the variables created by "X" are different each time. So how do I SUM the newly created variables without giving the variables a known name? I thought of using the PREFIX option, but the problem with that is that it will change the column names in the output.

Thanks. Joe.

-------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet


Back to: Top of message | Previous page | Main SAS-L page