greg warnick
2005-02-16 19:43:07 UTC
Hi SAS-L,
I have aflat file with ~500000 lines in it that I am reading in using
an infile statement. When SAS gets to line 325030, it stops reading
due to a Hex 1A (end of record marker?). I currently get around this
by opening the file in Textpad and doing a find/replace for this
character. I would prefer to do something in SAS. One thought was to
read both backward and forward, but since there are many of these pesky
Hex characters, I can't really know when the forward-read matches the
backward-read. Any suggestions or undocumented options in the infile
statement that would help passover these characters?
Thanks, Greg
I have aflat file with ~500000 lines in it that I am reading in using
an infile statement. When SAS gets to line 325030, it stops reading
due to a Hex 1A (end of record marker?). I currently get around this
by opening the file in Textpad and doing a find/replace for this
character. I would prefer to do something in SAS. One thought was to
read both backward and forward, but since there are many of these pesky
Hex characters, I can't really know when the forward-read matches the
backward-read. Any suggestions or undocumented options in the infile
statement that would help passover these characters?
Thanks, Greg