LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2000, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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]


Back to: Top of message | Previous page | Main SAS-L page