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 (March 2001, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 16 Mar 2001 13:21:45 +0000
Reply-To:   gkirton@FILCS.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Graeme Kirton <gkirton@FILCS.COM>
Subject:   From and To Dates
Content-type:   text/plain; charset=us-ascii

Hello people,

This is something easy, I guess. Whats the best way in which I can expand this where clause to encompass a to field.

%LET from_mm = 02; %Let from_yy = 2001; *%Let to_mm = 03;

data lookup(keep=dset drop=lot); set testrun; where (month(lotdate)=&from_mm and year(lotdate)=&from_yy); dset=lowcase(scan(trim("pcm_"!!testplan),1,'.')); run;

Thanx.........


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