<?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: Proc import csv file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769043#M243969</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;proc import &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Quick answer: don't.&lt;/P&gt;
&lt;P&gt;It's not worth to use IMPORT and having to clean up the mess later. Write the data step yourself, according to the documentation of the file. You get full control over types, informats, formats, and where to start reading the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We read hundreds of files, and not one of the jobs uses PROC IMPORT.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 08:44:25 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-09-22T08:44:25Z</dc:date>
    <item>
      <title>Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769037#M243964</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if it is possible to import the csv file from 3rd row please ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769037#M243964</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-09-22T08:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769038#M243965</link>
      <description>&lt;P&gt;Are you using the Data Step or PROC IMPORT?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769038#M243965</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-09-22T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769040#M243966</link>
      <description>&lt;P&gt;proc import &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769040#M243966</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-09-22T08:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769043#M243969</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;proc import &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Quick answer: don't.&lt;/P&gt;
&lt;P&gt;It's not worth to use IMPORT and having to clean up the mess later. Write the data step yourself, according to the documentation of the file. You get full control over types, informats, formats, and where to start reading the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We read hundreds of files, and not one of the jobs uses PROC IMPORT.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769043#M243969</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-22T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769068#M243975</link>
      <description>&lt;P&gt;While I do agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;,&amp;nbsp;your answer to the Proc Import problem can be found in the thread below &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/variable-names-in-quot-row-2-quot-how-to-let-PROC-IMPORT-to/td-p/68009" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/variable-names-in-quot-row-2-quot-how-to-let-PROC-IMPORT-to/td-p/68009&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 09:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769068#M243975</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-09-22T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769070#M243977</link>
      <description>&lt;P&gt;Proc Import gives you less control what happens than a SAS data step which is why quite a few people don't like to use it but....&lt;/P&gt;
&lt;P&gt;Have a look into the datarow statement. That should do what you're looking for.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p08ss3c3xtt2qzn1fsma45gyz333.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p08ss3c3xtt2qzn1fsma45gyz333.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 09:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769070#M243977</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-09-22T09:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769172#M244018</link>
      <description>Thank you, Kurt !</description>
      <pubDate>Wed, 22 Sep 2021 14:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-csv-file/m-p/769172#M244018</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-09-22T14:14:05Z</dc:date>
    </item>
  </channel>
</rss>

