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 (November 2001, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 30 Nov 2001 06:51:14 -0800
Reply-To:   Vadim Pliner <vadim.pliner@VERIZONWIRELESS.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Vadim Pliner <vadim.pliner@VERIZONWIRELESS.COM>
Organization:   http://groups.google.com/
Subject:   Re: Changing the order of variables in a dataset
Content-Type:   text/plain; charset=ISO-8859-1

Use a RETAIN statement. E.g.:

data mydata; retain var1 var2 var3; * your variables in the desirable order; set mydata; run;

HTH, Vadim

Simon.Gillow@BBG.CO.UK (Simon Gillow) wrote in message news:<0080080004549296000002L862*@MHS>... > This should be a very simple request but despite my searching I can't find a > solution. > > I would like to change the order of variables in a dataset when viewed in > FSVIEW. The dataset already exists so I don't think I can use an attrib > statement. > > Any help to this annoyingly simple and straighforward request will be > appreciated. > > Regards, > > Simon


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