|Date: ||Thu, 29 Nov 2007 15:12:18 -0500|
|Reply-To: ||Michael Raithel <michaelraithel@WESTAT.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Michael Raithel <michaelraithel@WESTAT.COM>|
|Subject: ||Re: External Files|
|Content-Type: ||text/plain; charset="us-ascii"|
Ken Barz posted the following:
> For a given directory in Windows, how might I go about
> creating a dataset with the name of each file in the
> directory of a given extension (.xml)?
Ken, besides the stellar advice that you already got, you may find the
following two papers of interest. I have recommended them often on the
'L because of their great utility. You may get some good ideas from
Functionsize: Process Your External Files, Linda Libeg, SAS Global Forum
Automatically Process a Varying Number of New Data Files From a "Data
Directory", Michael A. Raithel, SUGI 30
Ken, best of luck in all of your SAS endeavors!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not
reflect those of my organization or my associates. All SAS code and/or
methodologies specified in this posting are for illustrative purposes
only and no warranty is stated or implied as to their accuracy or
applicability. People deciding to use information in this posting do so
at their own risk.
Michael A. Raithel
"The man who wrote the book on performance"
Author: Tuning SAS Applications in the MVS Environment
Author: Tuning SAS Applications in the OS/390 and z/OS Environments,
Author: The Complete Guide to SAS Indexes
It has been said that man is a rational animal. All my life
I have been searching for evidence which could support this. - Bertrand