Date: Tue, 21 Sep 2010 11:11:38 -0700
Reply-To: Sterling Paramore <gnilrets@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Sterling Paramore <gnilrets@GMAIL.COM>
Subject: Re: what is wrong with this code?
In-Reply-To: <AANLkTi=RWhMxj1y0qnbnuHcAsbiPgoLBNua=HAW3UkrJ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
You're getting the warning because call symput is never executed. I'm
guessing you misspelled "variable" as "variabe".
-Sterling
On Tue, Sep 21, 2010 at 11:05 AM, Jeff <zhujp98@gmail.com> wrote:
> %macro m;
> data _null_;
> set param.&desc.&con.;
> if variabe="&con." then do;
> call symput("cutoff", probt);
> end;
> run;
>
> %put &cutoff;
> %if "&cutoff"<=0.05 %then %do;
> data sigparam.&desc.&con.;
> set param.&desc.&con;
> %end;
> run;
> %mend;
>
>
>
> WARNING: Apparent symbolic reference CUTOFF not resolved.
> &cutoff
> WARNING: Apparent symbolic reference CUTOFF not resolved.
>
> NOTE: There were 18 observations read from the data set
> PARAM.CONTINUEMPRLEVELC1I7.
> NOTE: The data set SIGPARAM.CONTINUEMPRLEVELC1I7 has 18 observations and 9
> variables.
> NOTE: Compressing data set SIGPARAM.CONTINUEMPRLEVELC1I7 decreased size by
> 0.00 percent.
> Compressed is 1 pages; un-compressed would require 1 pages.
> NOTE: DATA statement used (Total process time):
> real time 0.01 seconds
> cpu time 0.01 seconds
>
|