<?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: How to load the ; delimited file into CAS in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449245#M80</link>
    <description>&lt;P&gt;Import the file first to a SAS dataset with a data step, and then load it to CAS with load data.&lt;/P&gt;
&lt;P&gt;Then you can inspect the result of the import and easier detect wrong lines in the input file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data step does not produce an ERROR for input lines that have more columns than are read with the input statement.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Mar 2018 08:40:55 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-03-28T08:40:55Z</dc:date>
    <item>
      <title>How to load the ; delimited file into CAS</title>
      <link>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449243#M79</link>
      <description>&lt;P&gt;I wanted to load the ; elimited data into CAS. The data looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;servicedvehiclesid;daykey;throughputsid;outletcode;outletname;baumusterkey&lt;BR /&gt;1;20140;679;0081;abc Company;123&lt;BR /&gt;1;20140;978679;00001;mMo Company;208&lt;BR /&gt;7;40331;00509;002;gtr Company;5846&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to load this data as:&lt;/P&gt;&lt;P&gt;proc casutil;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; load casdata="export.csv"&amp;nbsp;&amp;nbsp; incaslib="DBDATA"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importoptions=(filetype="csv" delimiter = ";" getnames="true")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; casout="export_110GB" outcaslib="DBDATA" promote;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the error as:&lt;/P&gt;&lt;P&gt;ERROR: At least one row of input data is invalid: too many columns.&lt;BR /&gt;ERROR: The action stopped due to errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have Any suggestions on the coding part or error, Please revert. Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 08:13:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449243#M79</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-28T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the ; delimited file into CAS</title>
      <link>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449245#M80</link>
      <description>&lt;P&gt;Import the file first to a SAS dataset with a data step, and then load it to CAS with load data.&lt;/P&gt;
&lt;P&gt;Then you can inspect the result of the import and easier detect wrong lines in the input file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data step does not produce an ERROR for input lines that have more columns than are read with the input statement.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 08:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449245#M80</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-03-28T08:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to load the ; delimited file into CAS</title>
      <link>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449308#M81</link>
      <description>Okay.. I will do it this way. Thanks A lot!!</description>
      <pubDate>Wed, 28 Mar 2018 13:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-load-the-delimited-file-into-CAS/m-p/449308#M81</guid>
      <dc:creator>AmitSri</dc:creator>
      <dc:date>2018-03-28T13:12:36Z</dc:date>
    </item>
  </channel>
</rss>

