LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page