Date: Tue, 30 Mar 2010 16:30:13 -0400
Reply-To: Charles Patridge <charles_s_patridge@PRODIGY.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Charles Patridge <charles_s_patridge@PRODIGY.NET>
Subject: Capture File Names being read using a wildcard
To SAS-Lers,
I thought there was a way to capture a list of files being read by SAS
when using a wildcard in filename statement.
filename myfiles "C:\data\*.txt";
data test;
infile myfiles;
input x y z;
run;
I know the log will show what files were read but I was hoping to be able
to capture them as it is reading the files or on completion of reading the
files.
Any ideas without having to write a separate macro to get the list using a
DOS command and then looping through that list - which I have.
Just looking to use a short cut if it exists.
Thanks in advance,
Chuck Patridge
charles_s_patridge at prodigy dot net