Date: Tue, 22 Oct 2002 19:38:29 -0400
Reply-To: Kim LeBouton <kimberly_lebouton@AHM.HONDA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kim LeBouton <kimberly_lebouton@AHM.HONDA.COM>
Subject: Old Macro Code (maybe V5)
I just ran into the following code--and it works.
MACRO _SELECT
yday = date() - 1;
day = weekday(yday);
if day = 7 then yday = yday - 1;
if day = 1 then yday = yday - 2;
if date = yday;
if nodename not in ('x','y','z');
%
data test;
set another data set;
_SELECT;
run;
What version of SAS used this form of the macro language? What arguments
would you use to convince somebody to use %macro/%mend code?
Kim LeBouton
|