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 (March 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 18 Mar 2002 09:38:09 -0500
Reply-To:   JimS <jimandsu@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   JimS <jimandsu@YAHOO.COM>
Organization:   AOL Time Warner
Subject:   Reading a text file into SAS
Content-Type:   text/plain; charset=us-ascii; format=flowed

Happy Monday,

I'm attempting to read a text file into sas. The problem I'm having is that the columns do not always line up and there's a lot of extra information I don't need. I would like SAS to read in for 10 chars after one delimiter (i.e. '(' ) and then read for 5 chars after the next delimiter (i.e. ':'). Is this possible? I didn't see anything in the online docs for this.

Also, does a delimiter have to be one character? (i.e. could it be '**' ?)

Many thanks for any info or any potential work-arounds.


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