<?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 import txt in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495076#M72336</link>
    <description>&lt;P&gt;Now I have a acustomer list D:\cust_list.txt,and this text has one column "party_no"(the max length is 22),and the first row of this txt is column name.Please tell me how to import&amp;nbsp; it to library 'puball' with data step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 23:16:23 GMT</pubDate>
    <dc:creator>ccnky123</dc:creator>
    <dc:date>2018-09-12T23:16:23Z</dc:date>
    <item>
      <title>import txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495076#M72336</link>
      <description>&lt;P&gt;Now I have a acustomer list D:\cust_list.txt,and this text has one column "party_no"(the max length is 22),and the first row of this txt is column name.Please tell me how to import&amp;nbsp; it to library 'puball' with data step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495076#M72336</guid>
      <dc:creator>ccnky123</dc:creator>
      <dc:date>2018-09-12T23:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: import txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495097#M72337</link>
      <description>&lt;P&gt;this should give you want you asking for.&lt;/P&gt;&lt;P&gt;filename datain "D:\cust_list.txt";&lt;BR /&gt;data want;&lt;BR /&gt;&amp;nbsp; infile datain;&lt;BR /&gt;&amp;nbsp; input @1 party_no $22.;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 00:13:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495097#M72337</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-09-13T00:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: import txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495169#M72338</link>
      <description>&lt;P&gt;Two minor changes to the code posted by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122002"&gt;@VDD&lt;/a&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename datain "D:\cust_list.txt";
libname puball "....";

data pubull.want;
  infile datain firstobs=2;
  input @1 party_no $22.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In production jobs i always recommend not to overwrite a permanent dataset with an importing step, but to store the imported data in a temporary dataset first and copy the dataset to the library after it has been verified that the import was successful.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 05:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/import-txt/m-p/495169#M72338</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-09-13T05:48:35Z</dc:date>
    </item>
  </channel>
</rss>

