<?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: Importing a space delimited .txt file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164202#M42581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It actually appears to be a comma delimited file.&amp;nbsp; Couldn't you just use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile "c:\art\names.txt" dlm="," dsd firstobs=2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length State State_ANSI ANSI_Cl $2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length County_ANSI $3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length County_Name $50;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input State State_ANSI County_ANSI County_Name ANSI_Cl;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 22:39:21 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2013-12-04T22:39:21Z</dc:date>
    <item>
      <title>Importing a space delimited .txt file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164201#M42580</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 have a text file that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;State,State ANSI,County ANSI,County Name,ANSI Cl&lt;/P&gt;&lt;P&gt;AL,01,001,Autauga County,H1&lt;/P&gt;&lt;P&gt;AL,01,003,Baldwin County,H1&lt;/P&gt;&lt;P&gt;AL,01,005,Barbour County,H1&lt;/P&gt;&lt;P&gt;AL,01,007,Bibb County,H1&lt;/P&gt;&lt;P&gt;AL,01,009,Blount County,H1&lt;/P&gt;&lt;P&gt;AL,01,011,Bullock County,H1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this into SAS? I tried a few ways but I couldn't get it to have a data set with 5 columns with the corresponding headings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164201#M42580</guid>
      <dc:creator>acros</dc:creator>
      <dc:date>2013-12-04T22:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a space delimited .txt file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164202#M42581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It actually appears to be a comma delimited file.&amp;nbsp; Couldn't you just use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile "c:\art\names.txt" dlm="," dsd firstobs=2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length State State_ANSI ANSI_Cl $2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length County_ANSI $3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length County_Name $50;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input State State_ANSI County_ANSI County_Name ANSI_Cl;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164202#M42581</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-12-04T22:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a space delimited .txt file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164203#M42582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, yes, comma delimited. Thanks so much! The code worked perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 23:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-a-space-delimited-txt-file/m-p/164203#M42582</guid>
      <dc:creator>acros</dc:creator>
      <dc:date>2013-12-04T23:16:53Z</dc:date>
    </item>
  </channel>
</rss>

