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 2010, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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