<?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: Importing a CSV file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/865284#M42587</link>
    <description>&lt;P&gt;The way it works 100% in SAS studio, no matter the operating system, is through the "Upload" wizard. The wizard creates a temporary location for the file on your drive, which has the same name as your file, i.e.,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cars_novname.csv&lt;/PRE&gt;&lt;P&gt;That is not your actual file, but only an importing code.&lt;/P&gt;&lt;P&gt;Copy from that code: the PROC IMPORT&lt;/P&gt;&lt;P&gt;and the PROC CONTENTS&lt;/P&gt;&lt;P&gt;Replace the name "REFFILE" with the path listed under FILENAME in the importing code.&lt;/P&gt;&lt;P&gt;You may want to replace the directory WORK with a permanent location (library) at your choice and the table name IMPORT with a name of your choice, i.e., cars_nov.&lt;/P&gt;&lt;P&gt;Also, check the columns of the created "cars_nov.sas7bdat" to see if all characters and numbers are displayed correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the format in some columns is not what you want, you can copy and transform the log of the import procedure for generating different formats. A video I found useful for all these steps is&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=unfBvLyyQjs" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=unfBvLyyQjs&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 18:25:58 GMT</pubDate>
    <dc:creator>eene287</dc:creator>
    <dc:date>2023-03-20T18:25:58Z</dc:date>
    <item>
      <title>Importing a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378695#M24642</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to import a CSV file, here's the code I used&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc import datafile="\\Mac\Home\Downloads\cars_novname.csv" &lt;BR /&gt;out=mydata dbms=csv replace; &lt;BR /&gt;getnames=no; &lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;When I execute I get this error message "Physical file does not exist........." import unsuccessful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file is very much there in the path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramaa&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 15:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378695#M24642</guid>
      <dc:creator>Ramabc3</dc:creator>
      <dc:date>2017-07-24T15:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Impoting a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378698#M24644</link>
      <description>&lt;P&gt;When SAS says "physical file does not exist", then it isn't there, period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have a situation where you can "see" the file from your desktop, but the SAS process on the SAS server can't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tell us a little about your SAS setup (servers, operating systems)&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 14:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378698#M24644</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-24T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Impoting a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378711#M24652</link>
      <description>&lt;P&gt;Are you using SAS UE? If so, please read the instructions on how to access a CSV file from University Edition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to kind of follow the links to get to the solution but it's buried here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/software/products/university-edition/faq/SAS_accessdata_Excel.htm" target="_blank"&gt;https://support.sas.com/software/products/university-edition/faq/SAS_accessdata_Excel.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, place the file in your myfolders created at set up, then navigate to that folder in SAS UE using Server Files &amp;amp; Folders Pane. Then right click the file and under properties it will have the full path.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 14:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378711#M24652</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-24T14:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Impoting a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378921#M24663</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify&amp;nbsp; ai am not accessing a CSV file fro UE, I pasted the code I found on google.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tweaked the code to pick the file from Shared drive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramaa&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 10:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378921#M24663</guid>
      <dc:creator>Ramabc3</dc:creator>
      <dc:date>2017-07-25T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Impoting a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378924#M24664</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125140"&gt;@Ramabc3&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to clarify&amp;nbsp; ai am not accessing a CSV file fro UE, I pasted the code I found on google.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tweaked the code to pick the file from Shared drive&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramaa&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then we need the answer to my previous post.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 11:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/378924#M24664</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-25T11:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a CSV file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/865284#M42587</link>
      <description>&lt;P&gt;The way it works 100% in SAS studio, no matter the operating system, is through the "Upload" wizard. The wizard creates a temporary location for the file on your drive, which has the same name as your file, i.e.,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cars_novname.csv&lt;/PRE&gt;&lt;P&gt;That is not your actual file, but only an importing code.&lt;/P&gt;&lt;P&gt;Copy from that code: the PROC IMPORT&lt;/P&gt;&lt;P&gt;and the PROC CONTENTS&lt;/P&gt;&lt;P&gt;Replace the name "REFFILE" with the path listed under FILENAME in the importing code.&lt;/P&gt;&lt;P&gt;You may want to replace the directory WORK with a permanent location (library) at your choice and the table name IMPORT with a name of your choice, i.e., cars_nov.&lt;/P&gt;&lt;P&gt;Also, check the columns of the created "cars_nov.sas7bdat" to see if all characters and numbers are displayed correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the format in some columns is not what you want, you can copy and transform the log of the import procedure for generating different formats. A video I found useful for all these steps is&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=unfBvLyyQjs" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=unfBvLyyQjs&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-a-CSV-file/m-p/865284#M42587</guid>
      <dc:creator>eene287</dc:creator>
      <dc:date>2023-03-20T18:25:58Z</dc:date>
    </item>
  </channel>
</rss>

