Date: Tue, 9 Sep 2008 12:39:06 -0400
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "NOMAIL Roger S. Clark" <roger.s.clark@CENSUS.GOV>
Subject: Re: renaming a field
Content-type: text/plain; charset=US-ASCII
I have had success with this.
rename Company = name;
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of hd
> Sent: Tuesday, September 09, 2008 8:27 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: renaming a field
> Hi I am really stuck have been trying to find some solution but to no
> I have a dataset called test, I want to rename some of the fields.
> For example instead of Company i would like to rename it as name
> I am trying this command below but the field doesnt change. Does
> anyone know how to do this?
> data final (rename = (Company = name));
> set test;
> Many Thanks
Roger S. Clark
Address Products Management Branch