Date: Wed, 7 Jul 2010 02:28:59 -0400
Reply-To: "SUBSCRIBE SAS-L Joe H. Smith" <peesari.mahesh@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "SUBSCRIBE SAS-L Joe H. Smith" <peesari.mahesh@GMAIL.COM>
Subject: Pass date values
dear all;
i have data as date values in date9. format,i will enter values from
external browser
as month=january and year=1995,how shld i write code to compare this
values with the values in data set,
proc sql;
select * from xyz
where mn=&month. and yr=&year.
quit;
Thanks
Mike
|