| Date: | Wed, 3 Nov 2010 21:01:40 -0400 |
| Reply-To: | bbser2009 <bbser2009@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | bbser2009 <bbser2009@GMAIL.COM> |
| Subject: | drop= |
| Content-Type: | text/plain; charset="us-ascii" |
Hi there,
Let's consider a code like this:
DATA temp (drop=month);
SET sashelp.class;
...
DO month=1 to 10;
...
END;
...
RUN ;
Since there is a data set inside, we have multiple iterations of the data
step.
I was wondering, how did the data set option drop= do in this code?
My guess is like this:
at the end of EACH data step iteration, the value of the variable month in
the PDV would not be written to the data set temp.
Is this understanding right? Thanks a lot.
Max
|