Date: Tue, 27 Nov 2007 14:24:11 -0500
Reply-To: Jack Clark <JClark@CHPDM.UMBC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Clark <JClark@CHPDM.UMBC.EDU>
Subject: Limit Bytes Being Read from Text File on Infile Statement?
Content-Type: text/plain; charset="us-ascii"
Hello everyone,
Am I imagining things or isn't there some option/parameter on the INFILE
or INPUT statement that limits how many bytes of an external file is
read?
For example, if I have a text file that is 8,000 bytes long, and the
only variables I want to read in are in the first 500 bytes, isn't there
a way to tell SAS to only read the first 500 bytes?
It's been a while, but I thought I remembered something like that? Or
maybe you just set the LRECL= the lower value with the
MISS/FLOW/TRUNCOVER option??
Thanks for any suggestions.
Jack Clark
Research Analyst
Center for Health Program Development and Management
University of Maryland, Baltimore County
|