Date: Mon, 14 Jan 2008 14:29:02 -0600
Reply-To: "data _null_," <datanull@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "data _null_," <datanull@GMAIL.COM>
Subject: Re: How to use macro to merge many dataset
Content-Type: text/plain; charset=ISO-8859-1
You can see from my second post that you don't need a macro just a way
to make the list. It is convenient to store the list in a macro
variable. Let us know if you have other problems.
On Jan 14, 2008 2:21 PM, <email@example.com> wrote:
> Yes, I am trying to do the vertical concatenation.
> Without macro, my code will be
> data all;
> set a250 a251 a252..... a750;
> My quesetion is how to use macro or any other way to complete the
> merge rather than write down each single dataset? Thanks.
> On Jan 14, 2:31 pm, datan...@GMAIL.COM ("data _null_,") wrote:
> > If the data sets have exactly the same variable then merging sounds
> > like the wrong thing. Perhaps vertical concatenation?
> > On Jan 14, 2008 1:26 PM, <tammy1...@yahoo.com.tw> wrote:
> > > I have 500 dataset named from a251 to a750. All of them have exactly
> > > the same variables. How can I merge them into one dataset by using
> > > macro? Thanks.- Hide quoted text -
> > - Show quoted text -