Date: Sun, 28 Jul 1996 01:43:15 +1000
Reply-To: "David H. Johnson" <djohnson@WERPLE.NET.AU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "David H. Johnson" <djohnson@WERPLE.NET.AU>
Subject: Re: SAS Handling of Missing
>David, Guess again:
No Tim, I'm not guessing. I do not guess, especially when that may mislead
someone. I'm speaking from MY experience of using the code, which I grant
may differ on the basis of the platform, Version or maintenance level.
>
> 13 %let text='Run matters.';
> 14 data _null_;
> 15 call symput('text','run doesn''t matter');
>
> NOTE: The DATA statement used 0.01 CPU seconds and 3774K.
>
> 16 data _null_;
> 17 put "&text";run;
>
> RUN DOESN'T MATTER
Granted, your code shows this works. But if you were populating the SYMPUT
value with a data value, not a direct assignment, as I did, would it still
work? I suspect it may in some circumstances, unless you try to resolve the
macro in a non adjacent step!
No SAS on this machine, I'm at home, but I'll look again at this next week,
AND I'll RTFM, most specifically the annotated example I ran and documented
some five years ago. That failed because the RUN; wasn't included.
Regards
D
/*---------------------------------------------------------------------------
David Johnson Strategy & Research TAC +61 3 9664 6492
Senior Research Analyst ... not company spokesman!!!
---------------------------------------------------------------------------*/
|