| 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 |
| In-Reply-To: | <92BD54B69F8AA446B8446927AAADE7B40169DE89@cpc-1.Colorado.local> |
| Content-Type: | text/plain; charset="us-ascii" |
Dear SAS-L-ers,
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
either one.
Functionsize: Process Your External Files, Linda Libeg, SAS Global Forum
2007
http://www2.sas.com/proceedings/forum2007/054-2007.pdf
Automatically Process a Varying Number of New Data Files From a "Data
Directory", Michael A. Raithel, SUGI 30
http://www2.sas.com/proceedings/sugi30/035-30.pdf
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"
E-mail: MichaelRaithel@westat.com
Author: Tuning SAS Applications in the MVS Environment
Author: Tuning SAS Applications in the OS/390 and z/OS Environments,
Second Edition
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172
Author: The Complete Guide to SAS Indexes
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
It has been said that man is a rational animal. All my life
I have been searching for evidence which could support this. - Bertrand
Russell
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|