| Date: | Mon, 28 Dec 2009 13:22:27 -0800 |
| Reply-To: | hallbird <hallbird2@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | hallbird <hallbird2@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: Dynamic path reader, |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
|---|
Guys,
lets say the path have numric folder, and I want the variable date
numric,
'20091229'
"
%macro doimport(Filename);
proc import
out=&Filename.
datafile="C:\EDM Landing Area\Input Folder\&Filename.\Customer.csv"
/*datafile="C:\Users\hallbird\Load\A\&Filename.\Cusotmer.csv" */
dbms=csv
replace;
getnames=YES;
DATAROW=2;
run;
%mend;
"
%doimport(20091229)
but each time i try it show error and dosen't allow ,
plus there're dates folder,from date folder the the doimport should
take
I hope you can give hand in this..
|