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 1996, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 27 Dec 1996 17:23:56 -0400
Reply-To:     Dan Keating <dtkeats@ibm.net>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Dan Keating <dtkeats@IBM.NET>
Subject:      Re: Q(nonSAS): shell program ??
Content-Type: text/plain; charset="us-ascii"

With OS/2, running SAS 6.10 and now 6.11, I simply use:

filename getdata 'e:\dir\*.txt'; ... infile getdata; input ...;

It reads each file in succession. I've used it for more than 30 files at a time.

Dan

On Fri, 27 Dec 1996 12:16:17 -0500, Sung-Il Cho wrote:

>Sorry about this non-SAS question. (but somewhat related anyway.) <snip> >I've received, say, 500 ascii data files whose names are like: >abc10100.txt def13702.txt ... xyz18021.txt >I wouldn't have this trouble if there was a way in SAS >to infile hundreds of files (with same variables) in one data step, >but I'm not aware of such a way. >I'd also be grateful for any suggestion to do that.

Dan Keating Miami Herald (305) 376-3476 -- phone (305) 376-5287 -- fax dtkeats@ibm.net


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