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 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 1 Dec 2003 17:10:09 -0500
Reply-To:     Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:      Re: Reading delimited files

I would first try some _INFILE_ magic. Something like:

input @ ; _infile_ = compress(_infile_,[invalid character values]); input var1-var85;

On Mon, 1 Dec 2003 13:33:40 -0800, Bill Walton <william.j.walton@NORDSTROM.COM> wrote:

>I have a tab delimited file with approximately 85 variables, what is >the easiest way to read in all variables with the exception of >variables 40-49? I would like to read the first 40 variables, skip >the next 10, and then read the next 36. There are invalid CR/LF >characters within variables 40-49 that make it difficult to read all >columns, so I would like to skip over them.


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