Date: Tue, 6 Jun 2000 08:16:44 -0400
Reply-To: "Willis, James" <James.Willis@BCBSFL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Willis, James" <James.Willis@BCBSFL.COM>
Subject: Re: Rearranging the Order of Data Variables
Content-Type: multipart/alternative;
I've also found that an 'attribute' statement before the 'set' statement
will rearrange the data. The PDV is valued with the settings in the
attribute statement and then with the settings in the 'set' file. Using
"label=" keeps the formats and lengths the same as in the set statement.
ex:
data two;
attrib member label='member';
set one;
This makes member the first variable in two.
> ----------
> From: Zihua Lin[SMTP:ZihuaLin@AOL.COM]
> Reply To: Zihua Lin
> Sent: Tuesday, June 06, 2000 1:02 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Re: Rearranging the Order of Data Variables
>
> Use PROC SQL and it will give a very flexible way to rearrange your data
> varialbes.
> Good luck,
> Zihua,
>
>
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.
[text/html]
|