<?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: SAS zipcode database in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/613361#M18401</link>
    <description>&lt;P&gt;Thanks. I managed to do it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname sasfiles 'C:\Users\Joaquin\Desktop';
filename intrans 'C:\Users\Joaquin\Desktop\zipcode_q1_2005.cpt' ;
proc cimport infile=intrans library=sasfiles;
run;

proc export data=sasfiles.zipcode_q1_2005
    outfile='C:\Users\Joaquin\Desktop\zipcode_q1_2005.csv'
    dbms=csv
    replace;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions to execute this block of code for each file in a directory?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 23:27:31 GMT</pubDate>
    <dc:creator>jsaldain33</dc:creator>
    <dc:date>2019-12-20T23:27:31Z</dc:date>
    <item>
      <title>SAS zipcode database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/612751#M18321</link>
      <description>&lt;P&gt;SAS provides .cpt files with zipcode county information &lt;A href="http://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html" target="_blank"&gt;http://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html&lt;/A&gt;. How can I extract from these files a .csv or .txt file that has zipcode and county columns?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 17:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/612751#M18321</guid>
      <dc:creator>jsaldain33</dc:creator>
      <dc:date>2019-12-18T17:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS zipcode database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/612758#M18322</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304091"&gt;@jsaldain33&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;SAS provides .cpt files with zipcode county information &lt;A href="http://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html" target="_blank" rel="noopener"&gt;http://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html&lt;/A&gt;. How can I extract from these files a .csv or .txt file that has zipcode and county columns?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You use proc cimport to import this transport file to a SAS dataset, and then a data step to export the data to the desired text format.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 18:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/612758#M18322</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-18T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS zipcode database</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/613361#M18401</link>
      <description>&lt;P&gt;Thanks. I managed to do it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname sasfiles 'C:\Users\Joaquin\Desktop';
filename intrans 'C:\Users\Joaquin\Desktop\zipcode_q1_2005.cpt' ;
proc cimport infile=intrans library=sasfiles;
run;

proc export data=sasfiles.zipcode_q1_2005
    outfile='C:\Users\Joaquin\Desktop\zipcode_q1_2005.csv'
    dbms=csv
    replace;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions to execute this block of code for each file in a directory?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 23:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-zipcode-database/m-p/613361#M18401</guid>
      <dc:creator>jsaldain33</dc:creator>
      <dc:date>2019-12-20T23:27:31Z</dc:date>
    </item>
  </channel>
</rss>

