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 (December 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sat, 10 Dec 2005 22:38:11 -0800
Reply-To:     David L Cassell <davidlcassell@MSN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         David L Cassell <davidlcassell@MSN.COM>
Subject:      Re: data set concatenation
In-Reply-To:  <200512100728.jBA5b12V017154@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed

navneetd@CAMDEN.USYD.EDU.AU wrote: >I know it is a silly question, but I was wondering whether all data sets >present in a particular library can be set in the data step without typing >names of all the data sets? For example, if I have a library with 20 data >sets and I want to concatenate them all in one step, can I just mention >dataset1-dataset20 or just the library name (or some other option) ? >I am using this process repeatedly and therefore would highly appreciate >your advice if it can save me from all the labor.

I see you have already gotten advice on how to build the list of data sets using dictionary tables.

I would suggest that you do this once. Use a data set view. Then you have a small structure which is really just the instructions to create the large data set you want to keep using. You can use this view any time you want, as long as you use the same LIBNAME (which gets hard-coded into those instructions). But you won't have your hard drives taken up with a data set the size of all your data sets concatenated together.

HTH, David -- David L. Cassell mathematical statistician Design Pathways 3115 NW Norwood Pl. Corvallis OR 97330

_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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