Date: Wed, 25 Mar 2009 14:44:55 -0400
Reply-To: Seth StJames <sethstjames@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Seth StJames <sethstjames@GMAIL.COM>
Subject: Re: MERGE multiple datasets without using IN=?
In-Reply-To: <a5b416d8-b826-4c49-8555-06f371122a61@l22g2000vba.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
No sure about what you mean regarding the macro, can you give an example.
But if you have merge mydataset(in=A)
data 2;
---- then 'if a;' will work
---- likewise if you use (in=in1) .... then 'if in1'; will
work
but you cannot use 'if in 1;'
hope this helps!
On Wed, Mar 25, 2009 at 2:40 PM, SAS-FU <lee.rozzelle@gmail.com> wrote:
> Im trying to do a basic merge with multiple datasets, and id like to
> do an "if in1" (outer join), but the list of datasets are in a macro
> variable.
>
> wasnt there an enhancement in version 9 that owuld let you reference
> datasets without using (in=1), etc..
>
> I tried saying "if a", but that doesnt work.,
>
> thanks for any comments.
>
|