/* This program allows you to specify the directory in which you */ /* have stored some SAS programs */ /* */ /* Here's the folder that contains the SAS program */ %let fileloc=z:\Projects\Gratis\Sam and Deiana\Thesis\; /* The INCLUDE statements bring in SAS code from another file */ /* These files contained stage data that was read in, processed and saved */ /* as a SAS data set; All rivers.sas merged the data by datetime */ /* and saved it in WORK as allriv */ %include "&fileloc.Broad data.sas"; *We do not need double periods here; %include "%fileloc.Saluda data.sas"; %include "%fileloc.Congaree data.sas"; %include "%fileloc.All rivers.sas"; * Here's the data read--xval was a DateTime variable--datepart extracts the date; data temp1; set allriv; where datepart(xval)>'27mar05'd; /* Lots of SAS commands followed--none used macro variables or statements */