|Date: ||Wed, 25 Apr 2001 14:04:32 -0400|
|Reply-To: ||Xiaoyuan <zhux@FLCOURTS.ORG>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Xiaoyuan <zhux@FLCOURTS.ORG>|
|Subject: ||Resolution of Macro variable.|
I work on a huge court data set, and have to produce 670 tables monthly(67
counties multiply 10 tables). I use "proc printto" to route procedure
outputs to our server. That's okay. But when I try to seperate those tables
into 67 files county by county in one folder, the resolution of macro
variable doesn't work. Here is what I did.
%do n=1 %to 67;
proc printto print='k:\MasterData\SRS\county\SRSpage1&cnty..rtf';
proc print data=county; run;
"cnty" cannot be resolved in the above case. Is something wrong? Or macro
variables cannot be resolved in the path. I appreciate any direction.