<?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: Import txt data with tab-delimited values in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134454#M36491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you've got an extra semi-colon in the import, after the datafile spec. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PROC IMPORT OUT=libl.texttest&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DATAFILE="R:\Test\myfile.txt";&amp;nbsp; * &amp;lt;~~~ Remove this semi-colon;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DBMS=DLM REPLACE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;GETNAMES=YES;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DELIMITER='09'x;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SCANTEXT=YES;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 17:03:20 GMT</pubDate>
    <dc:creator>AJPeters</dc:creator>
    <dc:date>2013-11-07T17:03:20Z</dc:date>
    <item>
      <title>Import txt data with tab-delimited values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134451#M36488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there are already a lot of old posts to this question. I read them through but I still cannot solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel table with more than 255 columns. that is why i saved the excel data to a .txt data with tab-delimited values. and then i used the following code to read it into SAS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT=libl.texttest&lt;/P&gt;&lt;P&gt;DATAFILE="R:\Test\myfile.txt";&lt;/P&gt;&lt;P&gt;DBMS=DLM REPLACE;&lt;/P&gt;&lt;P&gt;GETNAMES=YES;&lt;/P&gt;&lt;P&gt;DELIMITER='09'x;&lt;/P&gt;&lt;P&gt;SCANTEXT=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i look at the log, it shows error 180-322.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone help me solve this problem or give me a hint, how it came out like this? I am very grateful for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;nbsp; Dingdang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 15:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134451#M36488</guid>
      <dc:creator>Dingdang</dc:creator>
      <dc:date>2013-11-07T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Import txt data with tab-delimited values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134452#M36489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dingdang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try delimiter=tab.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Brandy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 16:17:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134452#M36489</guid>
      <dc:creator>brsinco</dc:creator>
      <dc:date>2013-11-07T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import txt data with tab-delimited values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134453#M36490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Brandy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your quick help. just tried it but still i got the same error message error 180 &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;nbsp; Dingdang &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 16:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134453#M36490</guid>
      <dc:creator>Dingdang</dc:creator>
      <dc:date>2013-11-07T16:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import txt data with tab-delimited values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134454#M36491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you've got an extra semi-colon in the import, after the datafile spec. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PROC IMPORT OUT=libl.texttest&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DATAFILE="R:\Test\myfile.txt";&amp;nbsp; * &amp;lt;~~~ Remove this semi-colon;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DBMS=DLM REPLACE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;GETNAMES=YES;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;DELIMITER='09'x;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SCANTEXT=YES;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 17:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134454#M36491</guid>
      <dc:creator>AJPeters</dc:creator>
      <dc:date>2013-11-07T17:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Import txt data with tab-delimited values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134455#M36492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi AJPeters,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, that was one of the errors that i made. In addition i deleted the row "SCANTEXT=YES" and then it worked well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 07:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-txt-data-with-tab-delimited-values/m-p/134455#M36492</guid>
      <dc:creator>Dingdang</dc:creator>
      <dc:date>2013-11-08T07:24:09Z</dc:date>
    </item>
  </channel>
</rss>

