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

Robert,

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:)

data _null_; infile testfile lrecl=90 ignoredoseof; input; put _infile_; run;

ERROR 23-2: Invalid option name IGNOREDOSEOF.

Thanks,

Laura Harmon Washington State Institute for Public Policy 360 586-2766 harmonl@wsipp.wa.gov web site: www.wa.gov/wsipp

-----Original Message----- From: Vogel.Robert [mailto:Vogel.Robert@MCCG.ORG] Sent: Wednesday, December 05, 2001 1:34 PM To: SAS-L@LISTSERV.UGA.EDU 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 suggestions

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.

bob vogel.


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