<?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: Effective way to import huge CSV file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194023#M48723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just write a data step to read it.&amp;nbsp; You will need to know the field attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 12:05:46 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2015-03-04T12:05:46Z</dc:date>
    <item>
      <title>Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194022#M48722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the best way to import the .csv effectively with less time consumption?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've several thousands of records in my .CSV and I used to import the file as follows. If the file is large (say 200 MB) it is taking hours to complete. Can it be complete in minutes by tweaking the import process? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename rawdata "/data/04001_Compa_12312014.csv" termstr=crlf lrecl=32760;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile=rawdata out=rawdata1 dbms=csv replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; guessingrows=3000000;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194022#M48722</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-04T12:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194023#M48723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just write a data step to read it.&amp;nbsp; You will need to know the field attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194023#M48723</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-03-04T12:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194024#M48724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even reading the .csv file is also time consumes. I used to get warning message like 'File not loaded completely' when I try to open large volume file. I don't know the field attributes without reading the file though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:12:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194024#M48724</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-04T12:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194025#M48725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;RamKumar wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; I don't know the field attributes without reading the file though.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any other suggestions?&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're kidding right?&amp;nbsp; You have 200MB of data and you know nothing about the contents and have no documentation.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194025#M48725</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-03-04T12:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194026#M48726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;- Decreasing &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;guessingrows (if possible)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em; background-color: #ffffff;"&gt;- compress=yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How much time does it take to simply &lt;STRONG&gt;copy&lt;/STRONG&gt; this file with operating system command? The speed of import depends largely on the speed of the hard drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194026#M48726</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-03-04T12:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194027#M48727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;How much time does it take to simply &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;copy&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #ffffff;"&gt; this file with operating system command? It takes only 5-7 seconds to copy a file in UNIX box. I did this using cp command.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194027#M48727</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-04T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194028#M48728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget proc import. Take the &lt;STRONG&gt;documented structure&lt;/STRONG&gt;(!!!), write a data step, and it won't take much longer than a simple cp.&lt;/P&gt;&lt;P&gt;I read files up to &amp;gt; 10 GB, and I rarely drop below 50MB/sec throughput during the data step. And that's a p520, almost 10 years old.&lt;/P&gt;&lt;P&gt;If you get 200 MB of undocumented data, print it out on paper and use that stack to whack the idiot that delivered it over the head. Maybe that gets him(her) thinking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTOH, how do you technically read the file? You stated that it takes 5-7 secs for the copy. Is SAS running on the same UNIX machine, or do you read the file over the network?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:20:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194028#M48728</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-04T13:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194029#M48729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; I&lt;EM&gt;s SAS running on the same UNIX machine, or do you read the file over the network?&lt;/EM&gt; Yes, SAS running on UNIX server. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;I've used my proc import in SAS EG. I could see a difference after I put a compress option and trimming one zero's from guessing zeros as Gergely suggests.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194029#M48729</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-04T14:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194030#M48730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using EG where is the SAS server relative to the file?&amp;nbsp; If your SAS server is remote from the machine running EG then EG might be uploading the file across the network to the SAS server.&lt;/P&gt;&lt;P&gt;Much better to store the file on a disk that the SAS server can see and read it from there.&lt;/P&gt;&lt;P&gt;Do not use PROC IMPORT to read a CSV file.&amp;nbsp; It will have to guess at how to read the file.&amp;nbsp; If you really have no idea what is in the file then read the first few lines and look at them.&amp;nbsp; Then write your DATA step to read the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:37:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194030#M48730</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-04T16:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194031#M48731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my experience using guessingrows with a large value can drastically slow down the import of CSV files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Behind PROC IMPORT SAS builds DATA step code when reading CSVs. You can see this in the SAS log. Just copy this DATA step code into your SAS editor and run it. You will be amazed how much quicker it is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194031#M48731</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-03-04T18:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194032#M48732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-size: 13px; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you really have no idea what is in the file then read the first few lines and look at them - how to read first few lines in SAS?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 06:12:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194032#M48732</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-05T06:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194033#M48733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a .csv in UNIX, so head -5 filename from the commandline where you did the cp will show you the first 5 lines. This way you can make an educated guess about the record length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;infile "&lt;EM&gt;your_file&lt;/EM&gt;" lrecl=&lt;EM&gt;your_guess &lt;/EM&gt;obs=&lt;EM&gt;how_may_you_want&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;length dataline $ &lt;EM&gt;your_guess&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;input;&lt;/P&gt;&lt;P&gt;dataline = _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you a file with the complete lines to look at.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194033#M48733</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-05T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194034#M48734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the SAS code being generated in the SAS log by CSV PROC IMPORT as I have explained above...you can use that directly to read in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read the first 10 lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile rawdata obs = 10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194034#M48734</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-03-05T07:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194035#M48735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we create a dataset with first few observations instead of reading it in log?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:25:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194035#M48735</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-05T07:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194036#M48736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at my answer; the obs= option in the infile statement does the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194036#M48736</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-05T07:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194037#M48737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the input statement we need to put a variable name. Otherwise the created dataset (test) does not have columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile rawdata obs = 10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input &lt;STRONG&gt;someColName $1000.&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think @&lt;A _jive_internal="true" data-avatarid="-1" data-externalid="" data-online="false" data-presence="null" data-userid="828210" data-username="KurtBremser" href="https://communities.sas.com/people/KurtBremser" style="font-weight: bold; font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #ffffff;"&gt;KurtBremser&lt;/A&gt;&amp;nbsp; original suggestion was to use the data step generated by the PROC IMPORT: modify it by including an obs=10 to the infile statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194037#M48737</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-03-05T07:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194038#M48738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can read it into variables using dummy variable names.&lt;/P&gt;&lt;P&gt;For example to read first 20 columns for the first 20 rows.&lt;/P&gt;&lt;P&gt;Use FIRSTOBS=2 to skip the header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sample;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile 'myfile.csv' dsd truncover lrecl=300000 firstobs=2 obs=20 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length x1-x20 $200 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input x1-x20 ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 12:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194038#M48738</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-05T12:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194039#M48739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't TRUNCOVER for FORMATTED and/or COLUMN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since delimited input is a form of LIST input would there ever be a situation where TRUNCOVER would be needed.&amp;nbsp; MISSOVER seems more appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it serves the same role here but it seems wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194039#M48739</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-03-05T13:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194040#M48740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my opinion MISSOVER is deprecated and should never be used unless you really do want to throw away short values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194040#M48740</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-05T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Effective way to import huge CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194041#M48741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The point is there is no such thing as "short values" when reading with LIST input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 14:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Effective-way-to-import-huge-CSV-file/m-p/194041#M48741</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-03-05T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

