I have a big .csv file (~2GB) to be read in SAS. Unfortunately, somehow there is a non-ascii character in the file and SAS stops importing upon reach the field including this character.
In order to specify the format of the fields, I use data step INFILE to do the import job. I wonder if there is any way to read the complete data while ignoring non-ascii characters.
Note: The only fix for me right now is to import in SAS first, get the error message and know the exact place where the error is, open the file (wait for like 10 minutes), manually locate the place I found and delete the character. Obviously it's cumbersome and difficult to be repeated.
encoding
option on infile – Joe