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
Content-Type: text/plain; format=flowed
>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
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
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
size of all your data sets concatenated together.
David L. Cassell
3115 NW Norwood Pl.
Corvallis OR 97330
Express yourself instantly with MSN Messenger! Download today - it's FREE!