<?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: How to import a .csv file in a table format in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180683#M46031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding this statement to your program before the RUN statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;GETNAMES&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 02:07:37 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-01-14T02:07:37Z</dc:date>
    <item>
      <title>How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180679#M46027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I am using SAS Studio, have already uploaded csv file which are my data files.How do I convert the csv file to data file.I do not find the data import wizard in the SAS on Demand for Academics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and Best regards,&lt;/P&gt;&lt;P&gt;Sudipta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 18:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180679#M46027</guid>
      <dc:creator>Asudipta</dc:creator>
      <dc:date>2015-01-13T18:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180680#M46028</link>
      <description>&lt;P&gt;&lt;EM&gt;Editor's note:&amp;nbsp; Thanks for the additional explanation provided by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could try PROC IMPORT:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="background: white; color: navy; font-family: Consolas; font-size: 9pt;"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="background: white; color: navy; font-family: Consolas; font-size: 9pt;"&gt;IMPORT&lt;/STRONG&gt; &lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = my_csv&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;FILE&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: Consolas; font-size: 9pt;"&gt;"c:\my_csv.csv"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: white; color: purple; font-family: Consolas; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;DBMS&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = CSV&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;REPLACE&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="background: white; color: navy; font-family: Consolas; font-size: 9pt;"&gt;RUN&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180680#M46028</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-09-07T17:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180681#M46029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI: Basically, PROC IMPORT is the correct approach. However, remember that SAS Studio does not read a C: drive location if you are using SAS Studio with the University Edition or with SAS OnDemand for Academics. For the SAS University Edition, you will need to put the CSV file in your shared folder location and your FILE= option will be something like: FILE='/folders/myfolders/my_csv.csv'. But for SAS OnDemand for Academics, when you signed up for the account, you were given a directory path, so in this instance, you would need to upload the file to your space on the server and then your FILE= option would be something like: FILE='~/xxxxxxxxx/my_csv.csv';&amp;nbsp; (where ~/xxxxxxxxxx/ is the location you find in your OnDemand control center for your directory path).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 19:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180681#M46029</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-01-13T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180682#M46030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, I tired out the same procedure.Got the following output.&lt;/P&gt;&lt;P&gt;I wanted the name of the variables to be left blank.Here it is taking the first value as variable names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sas-table2.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/8698_sas-table2.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 01:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180682#M46030</guid>
      <dc:creator>Asudipta</dc:creator>
      <dc:date>2015-01-14T01:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180683#M46031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding this statement to your program before the RUN statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;GETNAMES&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 02:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180683#M46031</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-01-14T02:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180684#M46032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, my problem got resolved. If I need to insert names to the variable, how do I go about it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 02:17:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180684#M46032</guid>
      <dc:creator>Asudipta</dc:creator>
      <dc:date>2015-01-14T02:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180685#M46033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the RENAME statement in the documentation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 03:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180685#M46033</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-01-14T03:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180686#M46034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! Appreciate your support!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 03:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/180686#M46034</guid>
      <dc:creator>Asudipta</dc:creator>
      <dc:date>2015-01-14T03:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a .csv file in a table format in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/241202#M55676</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i recall my directory&amp;nbsp; path as i am also facing error while uploading the csv file.&lt;/P&gt;
&lt;P&gt;I have enrolled to 3 courses however dont find themm listed on my login screen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Shivi&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 06:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-csv-file-in-a-table-format-in-SAS/m-p/241202#M55676</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2015-12-30T06:55:21Z</dc:date>
    </item>
  </channel>
</rss>

