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 (February 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Feb 2011 21:01:32 -0500
Reply-To:     Randy <randistan69@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Randy <randistan69@HOTMAIL.COM>
Subject:      Reordering Variables and Keeping Variables

My data set has more than 50 variables. I want to keep some of them and reorder them in a particular way. Is this correct?

Data want; Retain A B C D ; Keep D B C A; set have; run;

Or does the keep statement suffice? Thanks Randy


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