Date: Tue, 19 Jan 2010 10:49:05 -0600
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: DO While in Macro
In-Reply-To: <0cde3406-c682-4c25-8d6e-c20bb4974c26@l19g2000yqb.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Yes, the ability to set with : operator is new in 9.2.
-Joe
On Mon, Jan 18, 2010 at 2:45 AM, Eli Y. Kling <eli.kling@gmail.com> wrote:
> Ted,
>
> Is this a V9.2 thing? it does not work for me on my 9.1:
>
> data test_1;
> a=17;
> run;
> data test_2;
> b=77;
> run;
>
> data agnostic;
> set test_:;
> run;
> -
> 22
> -
> 200
> ERROR: File WORK.TEST_.DATA does not exist.
> ERROR 22-322: Syntax error, expecting one of the following: a name, a
> quoted string, (, ;, END,
> KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.
>
> ERROR 200-322: The symbol is not recognized and will be ignored.
>
>
> Eli
>
>
> On Jan 16, 9:39 pm, tc...@ASHLANDHOME.NET (Ted Clay) wrote:
> > There is a non-macro solution to the problem, which works if all the
> > datasets you want to concatenate begin with the same string (and no other
> > data sets do).
> >
> > Data all_weeks;
> > Set week_:;
> > Run;
> >
> > Ted
> >
>
|