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
|