<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc import csv file errors in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569276#M160404</link>
    <description>&lt;P&gt;i contacted the person who manages the data and was told he did not find anything that looks strange in the csv file and it can be read into R without any problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 20:27:28 GMT</pubDate>
    <dc:creator>xinyao2019</dc:creator>
    <dc:date>2019-06-26T20:27:28Z</dc:date>
    <item>
      <title>proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569148#M160343</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried to read csv file to SAS.&lt;/P&gt;&lt;P&gt;codes are below:&lt;/P&gt;&lt;P&gt;proc import out=y.deathfull2019pre06242019csv&lt;BR /&gt;datafile= "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv"&lt;BR /&gt;dbms=csv replace;&lt;BR /&gt;guessingrows=MAX;&amp;nbsp;&lt;BR /&gt;getnames=yes;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;The error is :&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for Age_Type in line 1387 28-47.&lt;BR /&gt;NOTE: Invalid data for Date_of_Birth___Month in line 1387 55-55.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for Age_Type in line 5027 28-47.&lt;BR /&gt;NOTE: Invalid data for Date_of_Birth___Month in line 5027 55-55.&lt;BR /&gt;WARNING: Limit set by ERRORS= option reached. Further errors of this type will not be&lt;BR /&gt;printed.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;NOTE: 27840 records were read from the infile&lt;BR /&gt;'Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv'.&lt;BR /&gt;The minimum record length was 61.&lt;BR /&gt;The maximum record length was 2643.&lt;BR /&gt;NOTE: The data set Y.DEATHFULL2019PRE06242019CSV has 27840 observations and 375 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 4.34 seconds&lt;BR /&gt;cpu time 2.28 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Errors detected in submitted DATA step. Examine log.&lt;BR /&gt;27840 rows created in Y.DEATHFULL2019PRE06242019CSV from&lt;BR /&gt;Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful. See SAS Log for details.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 2:08.43&lt;BR /&gt;cpu time 1:57.31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue please&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569148#M160343</guid>
      <dc:creator>xinyao2019</dc:creator>
      <dc:date>2019-06-26T16:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569152#M160344</link>
      <description>for some reason PROC IMPORT isn't a good idea for your data. Write a data step instead.  I'm surprised you got that error with the MAX setting though, can you post the full log.</description>
      <pubDate>Wed, 26 Jun 2019 16:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569152#M160344</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T16:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569157#M160346</link>
      <description>&lt;P&gt;The invalid data notes almost certainly mean that SAS has decided that the variables were intended to be one form of data, possibly &amp;nbsp;SAS dates and applying a SAS informat or numeric to read the values as such. But some of your data is not actually matching that expected format. You can open the CSV file in a text editor and go to line 1387 and look at the text values. The error is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect you will find something like NA or NULL where a number is expected. If the value is actually treated as a date by SAS then it may mean an incompatible value such as a month out of range 1 to 12 or day of month out of 1 to 28,29,30 or 31 depending on month and year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the data step code was successfully created it may mean that you can address the issue by copying the code to the editor and modifying the data step such as providing a "better" informat or adding code to address unexpected values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or fix the data issues in the CSV which is usually way more difficult.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might help to post the generated data step code and all the messages from log. Copy from the log and paste into a code box opened with the forum's {I} or "running man" icons. I am afraid that you may have removed some of the critical diagnostic information.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569157#M160346</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-26T16:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569159#M160348</link>
      <description>&lt;P&gt;I wouldn't be surprised if the cause was text values with embedded line breaks that is causing the columns to get messed up.&lt;/P&gt;
&lt;P&gt;Especially since you have min line length of 61 and max line length of over 2000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be able to fix it easily by using the TERMSTR=CRLF option.&amp;nbsp; So if the line breaks inside the vlaues is just either single CR or single LF character and the real end of lines are marked with two character CR+LF combination that will let SAS parse the lines properly. You can try creating a fileref using a FILENAME statement with that option.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename csv "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv"
  termstr=crlf
;

proc import
  out=y.deathfull2019pre06242019csv replace
  datafile= CSV dbms=csv 
;
  guessingrows=MAX; 
  getnames=yes;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Otherwise if you have embedded line breaks and they cannot be told apart from the real line breaks you will need to pre-process the file to fix that.&amp;nbsp; For just a few of them in a not too big file just open the file in a text editor and fix it. Otherwise there are ways that you can count either the number of fields per line or check for CR or LF inside of quotes to fix the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yup.&amp;nbsp; You data has at least one embedded line break on line 1386 that is causing trouble when reading line 1387.&amp;nbsp; It does look like the value with the line break does have quotes around it.&amp;nbsp; See the closing quote in column 11 of line 1387.&lt;/P&gt;
&lt;PRE&gt;NOTE: Invalid data for Age_Type in line 1387 28-47.
NOTE: Invalid data for Date_of_Birth___Month in line 1387 55-55.
RULE:  ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----
1387   DA19-00512",,,1,20190304,1,2019-01-16T02:06:20Z,0,1,N,N,N,N,Y 61&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569159#M160348</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T16:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569160#M160349</link>
      <description>&lt;P&gt;the log is too long exceed 200,000 characters.&lt;/P&gt;&lt;P&gt;i attached here.&lt;/P&gt;&lt;P&gt;thanks !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569160#M160349</guid>
      <dc:creator>xinyao2019</dc:creator>
      <dc:date>2019-06-26T16:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569161#M160350</link>
      <description>Word will mess up the formatting and not everyone can download attachments. Paste the code into a code box.</description>
      <pubDate>Wed, 26 Jun 2019 16:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569161#M160350</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T16:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569166#M160354</link>
      <description>&lt;P&gt;i am a beginner here. where is the code box?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 16:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569166#M160354</guid>
      <dc:creator>xinyao2019</dc:creator>
      <dc:date>2019-06-26T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569169#M160355</link>
      <description>&lt;P&gt;Something strange starts to happen at line 1387. You need to inspect what is unusual over there.&lt;/P&gt;&lt;P&gt;Change your code slightly and paste the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA _NULL_;
	INFILE  "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv" DELIMITER=",";
	IF _N_=1387 THEN PUTLOG _ALL_;
RUN;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569169#M160355</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-06-26T17:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569170#M160356</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279461"&gt;@xinyao2019&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i am a beginner here. where is the code box?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30578i3F556F97EDD5B794/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The first one looks like {i} and is the right one to use for logs.&lt;/P&gt;
&lt;P&gt;The second one looks like the SAS run command icon.&amp;nbsp; It is good for SAS code as it will try to highlight the code using its best guess at what SAS syntax you have provided.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569170#M160356</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T17:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569171#M160357</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;Thank you. I did not know this. Nice to know.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569171#M160357</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-06-26T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569173#M160358</link>
      <description>Great observation. I think you are right. it is expecting a closing double quotes and that is making it fail from 1387 onwards.</description>
      <pubDate>Wed, 26 Jun 2019 17:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569173#M160358</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-06-26T17:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569175#M160360</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212247"&gt;@koyelghosh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Great observation. I think you are right. it is expecting a closing double quotes and that is making it fail from 1387 onwards.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No it is that SAS does not check if end of line characters are in quotes or not. So values with embedded end of line characters are treated as two lines.&amp;nbsp; You need to either use the single CR or single LF in the values and CRLF to mark the ends of the real lines.&amp;nbsp; Or you have to fix the file to remove those extra line breaks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569175#M160360</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T17:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569176#M160361</link>
      <description>&lt;P&gt;I think it is a typing mistake. Comma and double quotes share the same key (on a US style keyboard). There is a possibility that somebody may have pressed shift + comma ..making it a double quote, instead of comma... Just a guess! Replace line 1387 double quote with a comma and try again.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:15:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569176#M160361</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-06-26T17:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569179#M160364</link>
      <description>Double quotes are standard on CSV's to enclose text fields in case they may have a comma in the field.</description>
      <pubDate>Wed, 26 Jun 2019 17:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569179#M160364</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T17:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569184#M160366</link>
      <description>&lt;P&gt;i cannot paste the log into log box either: exceeding 200,000 characters .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569184#M160366</guid>
      <dc:creator>xinyao2019</dc:creator>
      <dc:date>2019-06-26T17:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569185#M160367</link>
      <description>&lt;P&gt;Try to run the following and paste the output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA _NULL_;
	INFILE  "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv" DELIMITER=",";
	IF _N_ IN (1386,1387,1388) THEN PUTLOG _ALL_;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:29:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569185#M160367</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-06-26T17:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569186#M160368</link>
      <description>We don't need the full log, just the first 10 error or so. BUT - look at the log first because it can contain your data so if your data is confidential you'll have issues.</description>
      <pubDate>Wed, 26 Jun 2019 17:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569186#M160368</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-26T17:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569190#M160370</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212247"&gt;@koyelghosh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Try to run the following and paste the output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA _NULL_;
	INFILE  "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv" DELIMITER=",";
	IF _N_ IN (1386,1387,1388) THEN PUTLOG _ALL_;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Simpler version:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA _NULL_;
  INFILE  "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv" 
    firstobs=1386 obs=1388
  ;
  input;
  list;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:33:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569190#M160370</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569192#M160371</link>
      <description>&lt;P&gt;i got errors like this after i ran :&lt;/P&gt;&lt;P&gt;filename csv "Y:\Datasets\Restricted\Death\Preliminary\deathfull2019pre.csv"&lt;BR /&gt;termstr=crlf&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc import out=y.deathfull2019pre06242019csv replace&lt;BR /&gt;datafile= csv&lt;BR /&gt;dbms=csv ;&lt;BR /&gt;guessingrows=MAX; *the maximum number of the rows in the file;&lt;BR /&gt;getnames=yes;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for Res_Geo_Match_Score in line 3 678-679.&lt;BR /&gt;NOTE: Invalid data for Record_Axis_Code_14 in line 3 1152-1154.&lt;BR /&gt;NOTE: Invalid data for VAR666 in line 3 2760-2763.&lt;BR /&gt;NOTE: Invalid data for VAR709 in line 3 2911-2911.&lt;BR /&gt;NOTE: Invalid data for VAR903 in line 3 3668-3669.&lt;BR /&gt;NOTE: Invalid data for VAR966 in line 3 4025-4025.&lt;BR /&gt;NOTE: Invalid data for VAR1277 in line 3 5656-5657.&lt;BR /&gt;NOTE: Invalid data for _2108_W__ENTIAT_AVENUE in line 3 5810-5818.&lt;BR /&gt;NOTE: Invalid data for VAR1414 in line 3 6169-6171.&lt;BR /&gt;NOTE: Invalid data for VAR1434 in line 3 6209-6211.&lt;BR /&gt;NOTE: Invalid data for VAR1651 in line 3 7282-7283.&lt;BR /&gt;NOTE: Invalid data for _9245_RAINIER_AVE_S in line 3 7402-7410.&lt;BR /&gt;NOTE: Invalid data for VAR1788 in line 3 7744-7747.&lt;BR /&gt;NOTE: Invalid data for _2_YEARS in line 3 7782-7785.&lt;BR /&gt;NOTE: Invalid data for VAR1831 in line 3 7971-7971.&lt;BR /&gt;NOTE: Invalid data for VAR2025 in line 3 8785-8786.&lt;BR /&gt;NOTE: Invalid data for _5400_MACARTHUR_BLVD in line 3 8916-8924.&lt;BR /&gt;NOTE: Invalid data for VAR2162 in line 3 9316-9318.&lt;BR /&gt;NOTE: Invalid data for VAR2182 in line 3 9367-9369.&lt;BR /&gt;NOTE: Invalid data for _208_N_EUCLID_AVE in line 3 10597-10605.&lt;BR /&gt;NOTE: Invalid data for VAR2579 in line 3 11209-11209.&lt;BR /&gt;NOTE: Invalid data for VAR2773 in line 3 11997-11998.&lt;BR /&gt;NOTE: Invalid data for VAR2910 in line 3 12490-12493.&lt;BR /&gt;NOTE: Invalid data for VAR3147 in line 3 13620-13621.&lt;BR /&gt;NOTE: Invalid data for VAR3284 in line 3 14095-14098.&lt;BR /&gt;NOTE: Invalid data for VAR3658 in line 3 15514-15517.&lt;BR /&gt;NOTE: Invalid data for _2701_NW_VAUGHN_ST in line 3 16596-16604.&lt;BR /&gt;NOTE: Invalid data for VAR4032 in line 3 16920-16923.&lt;BR /&gt;NOTE: Invalid data for VAR4406 in line 3 18423-18426.&lt;BR /&gt;NOTE: Invalid data for VAR4823 in line 3 20307-20307.&lt;BR /&gt;NOTE: Invalid data for VAR5154 in line 3 21619-21622.&lt;BR /&gt;NOTE: Invalid data for VAR5419 in line 3 22793-22801.&lt;BR /&gt;NOTE: Invalid data for VAR5765 in line 3 24329-24330.&lt;BR /&gt;NOTE: Invalid data for VAR5902 in line 3 24827-24830.&lt;BR /&gt;NOTE: Invalid data for VAR6139 in line 3 25882-25883.&lt;BR /&gt;NOTE: Invalid data for VAR6276 in line 3 26398-26400.&lt;BR /&gt;NOTE: Invalid data for VAR6319 in line 3 26552-26552.&lt;BR /&gt;NOTE: Invalid data for VAR6481 in line 3 27336-27338.&lt;BR /&gt;NOTE: Invalid data for VAR6513 in line 3 27468-27469.&lt;BR /&gt;NOTE: Invalid data for VAR6541 in line 3 27588-27593.&lt;BR /&gt;NOTE: Invalid data for VAR6650 in line 3 27961-27964.&lt;BR /&gt;NOTE: Invalid data for VAR6887 in line 3 29114-29115.&lt;BR /&gt;NOTE: Invalid data for VAR7252 in line 3 30720-30723.&lt;BR /&gt;NOTE: Invalid data for VAR7261 in line 3 30771-30772.&lt;BR /&gt;NOTE: Invalid data for VAR7309 in line 3 31087-31092.&lt;BR /&gt;NOTE: Invalid data for VAR7398 in line 3 31263-31265.&lt;BR /&gt;NOTE: Invalid data for VAR7525 in line 3 31957-31969.&lt;BR /&gt;NOTE: Invalid data for VAR7617 in line 3 32297-32297.&lt;BR /&gt;NOTE: Invalid data for VAR7625 in line 3 32343-32343.&lt;BR /&gt;NOTE: Invalid data for VAR7626 in line 3 32345-32353.&lt;BR /&gt;NOTE: Invalid data for VAR7654 in line 3 32435-32441.&lt;BR /&gt;NOTE: Invalid data for VAR7658 in line 3 32472-32495.&lt;BR /&gt;NOTE: Invalid data for VAR7661 in line 3 32517-32521.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;NOTE: 62 records were read from the infile CSV.&lt;BR /&gt;The minimum record length was 2947.&lt;BR /&gt;The maximum record length was 32767.&lt;BR /&gt;One or more lines were truncated.&lt;BR /&gt;NOTE: The data set Y.DEATHFULL2019PRE06242019CSV has 62 observations and 7867 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 52.79 seconds&lt;BR /&gt;cpu time 49.37 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Errors detected in submitted DATA step. Examine log.&lt;BR /&gt;62 rows created in Y.DEATHFULL2019PRE06242019CSV from CSV.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful. See SAS Log for details.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 3:02.90&lt;BR /&gt;cpu time 2:48.87&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569192#M160371</guid>
      <dc:creator>xinyao2019</dc:creator>
      <dc:date>2019-06-26T17:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc import csv file errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569195#M160374</link>
      <description>Too bad.  Looks like your lines do not end with CR+LF since it caused the file to have way too few lines.&lt;BR /&gt;Also it looks like there are SOME instances where CR+LF does occur since it didn't cause the file to have just one line.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-csv-file-errors/m-p/569195#M160374</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-26T17:47:29Z</dc:date>
    </item>
  </channel>
</rss>

