Date: Tue, 5 Mar 2002 16:35:22 -0500
Reply-To: Maureen Stewart <mstewart@HSPH.HARVARD.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Maureen Stewart <mstewart@HSPH.HARVARD.EDU>
Subject: rename question
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hi all,
I would like to rename the variables data1 - data1000 using the values of
other variables in the file,
name1 - name1000. Here is what my data looks like now:
name1 data1 name2 data2
_a 1 _a 4
_b 2 _d 5
_c 3 _b 6
And what I would like to see:
_a _b _c _d
1 2 3 5
4 6
Thanks for any help!
Maureen
|