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
|