Date: Wed, 5 Dec 2001 14:22:48 -0800
Reply-To: "Harmon, Laura" <harmonl@WSIPP.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Harmon, Laura" <harmonl@WSIPP.WA.GOV>
Subject: Re: large data files
Content-Type: text/plain; charset="iso-8859-1"
I have a current problem with reading a file with hex character 1A (looks
like a square) also. I tried the ignoredoseof option on the infile
statement, but SAS doesn't reconize this option (v8.02, on windows nt) or
else I'm doing something else wrong.
Does anyone have any other ways to read past the EOF characters or see what
is wrong with the following code? (I copied the following code from the
SAS-L archives from Koen Vyverman:)
infile testfile lrecl=90 ignoredoseof;
ERROR 23-2: Invalid option name IGNOREDOSEOF.
Washington State Institute for Public Policy
web site: www.wa.gov/wsipp
From: Vogel.Robert [mailto:Vogel.Robert@MCCG.ORG]
Sent: Wednesday, December 05, 2001 1:34 PM
Subject: large data files
Dear SASler's: Thanks again for your suggestions. I found the problem. It
was a stray character emmbedded in a subject's name. The character was a
square and on the first 10 looks at record 1208 I read it as a O. The eyes
aren't too good these days. The part that had be confused was that SPSS
read the file correctly without any problem. Again thanks for the helpful
To answer Ian Whitlock's question about error messages. There were none.
The log simply recorded the successful reading of 1208 records. I suppose
the character represented an end of file. The only hint was the minimum
record size was 823 instead of 825.