<?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: Exporting/Importing CSV file in SAS 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503066#M134376</link>
    <description>&lt;P&gt;I forgot to mention, if you want to review proc import and the ODS statement take a look at the free &lt;STRONG&gt;SAS Programming 1 Essentials e-learning &lt;/STRONG&gt;course. Proc import is taught in chapter 2 "Accessing Data", and in chapter 6 "Exporting Data" the ODS statement is taught.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1" target="_self"&gt;SAS Programming 1: Essentials&lt;/A&gt; - Scroll to where it says Self-Paced e-Learning and it should say free. Click start and review the entire course or the chapters you need!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Peter&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 13:07:45 GMT</pubDate>
    <dc:creator>Panagiotis</dc:creator>
    <dc:date>2018-10-10T13:07:45Z</dc:date>
    <item>
      <title>Exporting/Importing CSV file in SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503044#M134367</link>
      <description>&lt;P&gt;I want to learn how to export html files to our organization's website. Is this the documentation I should use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/api/docsets/pcfsicg/9.4/content/pcfsicg.pdf?locale=en" target="_blank"&gt;https://documentation.sas.com/api/docsets/pcfsicg/9.4/content/pcfsicg.pdf?locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 12:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503044#M134367</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2018-10-10T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting/Importing CSV file in SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503063#M134374</link>
      <description>&lt;P&gt;Quick question, your subject says importing/exporting CSV files but your question says exporting HTML. I answered them both, I wasn't sure which you wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If you want to import/export CSV files the easiest is to&amp;nbsp;proc import and proc export&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1qn5sclnu2l9dn1w61ifw8wqhts.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Proc Import Documentation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n045uxf7ll2p5on1ly4at3vpd47e.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Proc Export Documentation&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Quick example of proc import&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="Location/of/file.csv"
		dbms=csv
		out=SASoutputTableName/*Creates the SAS table from the CSV file*/
		replace /*If out table exists replace it*/;
/*More statements you can use (optional). See documentation*/
	getnames=;/*Yes or No*/
	guessingrows=;/*Used to guess the column type and length*/
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. If you are looking to export to an html file look at ODS html. &lt;A href="https://go.documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=n0f5s1zezthhbrn1u0z71mh3wx64.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;ODS HTML Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Quick example for a sample SAS table you should have&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html body="C:\Where\You\Want\The\HTMLFile\Testfile.html"/*&amp;lt;--Change this location*/ style=htmlblue;
proc means data=sashelp.cars;
	var mpg_city;
	class type;
run;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 13:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503063#M134374</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2018-10-10T13:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting/Importing CSV file in SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503065#M134375</link>
      <description>&lt;P&gt;Thanks. My title must have been an autofill.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 13:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503065#M134375</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2018-10-10T13:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting/Importing CSV file in SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503066#M134376</link>
      <description>&lt;P&gt;I forgot to mention, if you want to review proc import and the ODS statement take a look at the free &lt;STRONG&gt;SAS Programming 1 Essentials e-learning &lt;/STRONG&gt;course. Proc import is taught in chapter 2 "Accessing Data", and in chapter 6 "Exporting Data" the ODS statement is taught.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1" target="_self"&gt;SAS Programming 1: Essentials&lt;/A&gt; - Scroll to where it says Self-Paced e-Learning and it should say free. Click start and review the entire course or the chapters you need!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Peter&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 13:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-Importing-CSV-file-in-SAS-9-4/m-p/503066#M134376</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2018-10-10T13:07:45Z</dc:date>
    </item>
  </channel>
</rss>

