<?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: help reading messy data from csv in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352460#M82166</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140370"&gt;@kekou&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;i have a CSV&amp;nbsp;data.&amp;nbsp; can anyone help reading it in SAS&amp;nbsp;without using proc import?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is this a file that should be public and available to anyone or does it contain confidential information? If this is a work file you may have violated confidentiality rules.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2017 20:57:23 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-22T20:57:23Z</dc:date>
    <item>
      <title>How do I read messy CSV data in SAS without using PROC Import?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352442#M82162</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have CSV&amp;nbsp;data. Can anyone help reading it in SAS&amp;nbsp;without using proc import?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 20:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352442#M82162</guid>
      <dc:creator>kekou</dc:creator>
      <dc:date>2017-04-22T20:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: help reading messy data from csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352443#M82163</link>
      <description>&lt;P&gt;If you run proc import SAS will write and run the data step that you would otherwise have to write to read in the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc import saves you the time of getting the variable names from the first records, determining which variables are numbers and which are characters, and identifying each variable's length.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 16:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352443#M82163</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-22T16:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: help reading messy data from csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352444#M82164</link>
      <description>&lt;P&gt;please without using proc import&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 16:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352444#M82164</guid>
      <dc:creator>kekou</dc:creator>
      <dc:date>2017-04-22T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: help reading messy data from csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352446#M82165</link>
      <description>&lt;P&gt;If you run proc import it will not only do the job, but show you the code that answers your question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, if&amp;nbsp;you want a lesson, take a look at:&amp;nbsp;&lt;A href="https://support.sas.com/techsup/technote/ts673.pdf" target="_blank"&gt;https://support.sas.com/techsup/technote/ts673.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 16:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352446#M82165</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-22T16:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: help reading messy data from csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352460#M82166</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140370"&gt;@kekou&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;i have a CSV&amp;nbsp;data.&amp;nbsp; can anyone help reading it in SAS&amp;nbsp;without using proc import?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is this a file that should be public and available to anyone or does it contain confidential information? If this is a work file you may have violated confidentiality rules.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 20:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352460#M82166</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-22T20:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: help reading messy data from csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352522#M82187</link>
      <description>&lt;P&gt;Why can't you use PROC IMPORT?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vince DelGobbo&lt;/P&gt;
&lt;P&gt;SAS R&amp;amp;D&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 00:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352522#M82187</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2017-04-23T00:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read messy CSV data in SAS without using PROC Import?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352524#M82189</link>
      <description>&lt;P&gt;CSV files are easy to read. Something like your file with only three variables is easier to read WITHOUT using PROC IMPORT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want ;
  infile 'zipcode.csv' dsd truncover firstobs=2;
  input var1-var3 ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now if you want you can use more meaningful names for your variables.&lt;/P&gt;
&lt;P&gt;If it really was a messy file then you could try reading the fields as characters strings and adding extra code to convert the strings into the types of values you need.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 00:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-read-messy-CSV-data-in-SAS-without-using-PROC-Import/m-p/352524#M82189</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-23T00:51:31Z</dc:date>
    </item>
  </channel>
</rss>

