Date: Thu, 9 May 2002 16:39:34 -0400
Reply-To: Robert Abelson <rabelson@KAI-RESEARCH.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robert Abelson <rabelson@KAI-RESEARCH.COM>
Subject: Re: A quick question: How to rearrange the position of variables
(columns) in an existing dataset
Content-Type: text/plain
Andrew,
You may want to search our archives for this. This question gets asked a
lot.
http://www.listserv.uga.edu/archives/sas-l.html
HTH.
Bob Abelson
KAI
6001 Montrose Rd.
Suite 920
Rockville, MD 20852
> -----Original Message-----
> From: Robert Abelson
> Sent: Thursday, May 09, 2002 4:38 PM
> To: 'Andrew Yu'
> Subject: RE: A quick question: How to rearrange the position of
> variables (columns) in an existing dataset
>
> Andrew,
>
> You may want to search our archives for this. This question gets asked a
> lot.
>
> http://www.listserv.uga.edu/archives/sas-l.html
>
> HTH.
>
> Bob Abelson
> KAI
> 6001 Montrose Rd.
> Suite 920
> Rockville, MD 20852
> T: 301-770-2730
> F: 301-770-4183
> rabelson@kai-research.com
>
>
> -----Original Message-----
> From: Andrew Yu [SMTP:andrewyupeng@YAHOO.COM]
> Sent: Thursday, May 09, 2002 4:13 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: A quick question: How to rearrange the position of
> variables (columns) in an existing dataset
>
> Dear SAS programmers,
>
> Thank you for answer this question in advance.
>
> It's been bothering me for quite a while, but I still don't know how
> to solve it. Is there anyway to re-arrange the positions of
> variables
> (columns) in a dataset? If not possible, can you please tell me a
> quick way to create a new dataset based on the old one but with the
> expected relative positions for those variables?
>
> Thanks,
>
> Andrew Yu
|