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 (November 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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