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 (December 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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,
Comments:   To: sas-l@uga.edu
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..


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