<?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: Getting an ERROR: Physical file does not exist in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-ERROR-Physical-file-does-not-exist/m-p/730733#M227573</link>
    <description>&lt;P&gt;I extracted your question from the 2-year old thread that is pretty dead by now.&lt;/P&gt;
&lt;P&gt;Don't post your question in other people's old thread, open your own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You obviously work with University Edition, which runs in a Linux virtual machine on your Mac. You have to use an &lt;EM&gt;absolute&lt;/EM&gt; path for your file that starts at the system root of the virtual machine, otherwise the program will look for your file on the &lt;EM&gt;current working directory&lt;/EM&gt;, where it won't find it.&lt;/P&gt;
&lt;P&gt;Also do not put anything into the sasuser.v94 directory, it is the place for the SASUER library and nothing else.&lt;/P&gt;
&lt;P&gt;So move your Excel file to your myfolders with the Mac Finder, and then use this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import
  datafile="/folders/myfolders/speedsas.xlsx"
  out=work.myexcel
  dbmes=xlsx
  replace
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure that your spelling of the filename is correct, as the UNIX systems of your Mac and the VM are case sensitive.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 14:56:03 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-01T14:56:03Z</dc:date>
    <item>
      <title>Getting an ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-ERROR-Physical-file-does-not-exist/m-p/730718#M227570</link>
      <description>&lt;P&gt;Hi, I am using the university edition but I have linked the file to the virtual folder Myfolders which has a subfolder "sasuser.v94" which then contains the file speedsas.xlsx .&amp;nbsp; I am running on a Mac&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am just new at using this and running out of ideas - I am guessing somehow it is not linked properly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 /** Import an XLSX file. **/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 PROC IMPORT DATAFILE="&amp;lt;speedsas.xlsx&amp;gt;"&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76 OUT=WORK.MYEXCEL&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77 DBMS=XLSX&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;78 REPLACE;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79 RUN;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp//&amp;lt;speedsas.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Apr 2021 14:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-ERROR-Physical-file-does-not-exist/m-p/730718#M227570</guid>
      <dc:creator>Patro</dc:creator>
      <dc:date>2021-04-01T14:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-ERROR-Physical-file-does-not-exist/m-p/730733#M227573</link>
      <description>&lt;P&gt;I extracted your question from the 2-year old thread that is pretty dead by now.&lt;/P&gt;
&lt;P&gt;Don't post your question in other people's old thread, open your own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You obviously work with University Edition, which runs in a Linux virtual machine on your Mac. You have to use an &lt;EM&gt;absolute&lt;/EM&gt; path for your file that starts at the system root of the virtual machine, otherwise the program will look for your file on the &lt;EM&gt;current working directory&lt;/EM&gt;, where it won't find it.&lt;/P&gt;
&lt;P&gt;Also do not put anything into the sasuser.v94 directory, it is the place for the SASUER library and nothing else.&lt;/P&gt;
&lt;P&gt;So move your Excel file to your myfolders with the Mac Finder, and then use this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import
  datafile="/folders/myfolders/speedsas.xlsx"
  out=work.myexcel
  dbmes=xlsx
  replace
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure that your spelling of the filename is correct, as the UNIX systems of your Mac and the VM are case sensitive.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 14:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-ERROR-Physical-file-does-not-exist/m-p/730733#M227573</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-01T14:56:03Z</dc:date>
    </item>
  </channel>
</rss>

