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 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Feb 2000 14:39:22 -0500
Reply-To:     Tom Frenkel <taf2@IS8.NYU.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Tom Frenkel <taf2@IS8.NYU.EDU>
Subject:      Re: re-order variables
In-Reply-To:  <ba.1bf7bed.25dda499@aol.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

To SAS-L:

Could anyone explain why RETAIN changes the variable order in this situation, whereas KEEP does not? In other words, the following code will change the variable order in the dataset:

data test2; RETAIN mailname series; set test; run;

but this code will not:

data test2; KEEP mailname series; set test; run;

Thanks!

--Tom Tom Frenkel <taf2@is8.nyu.edu> http://pages.nyu.edu/~taf2


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