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 (May 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 7 May 2009 10:10:42 -0400
Reply-To:     Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:      Re: Dropping variables efficiently

depends on. If you need that dataset later anywhere a view might be more efficient:

data a / view=a; set b (drop = x y); run;

with that you read b only once. If you first copy the dataset to a and then use it, you have 2 reads and 1 extra write. Gerhard

On Thu, 7 May 2009 06:59:06 -0700, Paul <paulvonhippel@YAHOO.COM> wrote:

>Is there a more efficient way to drop variables than the obvious? >


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