<?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: ERROR: Physical file does not exist ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/560130#M156541</link>
    <description>Thanks to all suggestions in the discussions. These suggestions provide all the ways/directions to debug the code. In summary, by testing, I found in the current scenario, two ways made it work:&lt;BR /&gt;1) update the cases of letters in the path/file to be consistent;&lt;BR /&gt;2) I added a slash to the end of the first line, it could import the data (not knowing why, but this was what happened):&lt;BR /&gt;%CsvExl_Import(location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl./&lt;BR /&gt;,filename= caCat_Test_Plan_&amp;amp;impl.&lt;BR /&gt;,DBMS= xlsx&lt;BR /&gt;,outfile= caCat_Test_Plan_&amp;amp;impl.)</description>
    <pubDate>Mon, 20 May 2019 13:38:40 GMT</pubDate>
    <dc:creator>leehsin</dc:creator>
    <dc:date>2019-05-20T13:38:40Z</dc:date>
    <item>
      <title>ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559119#M156095</link>
      <description>&lt;P&gt;Hi, I had a puzzle as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a excel (file name: caCat_Test_Plan_2019q1.xlsx) in the fold:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;rootDir.projects/pmh/qa/qci/pmh-bene-car-cat/2019q1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use this macro to import the excel file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro CsvExl_Import(location=, filename=, DBMS=, outfile=);
proc import datafile="&amp;amp;location./&amp;amp;filename..&amp;amp;DBMS."
DBMS= &amp;amp;DBMS. 
REPLACE
out= work.&amp;amp;outfile.;
getnames=yes;
run;
%mend CsvExl_Import;&lt;/CODE&gt;&lt;/PRE&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;The code for importing the Excel file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let impl = 2019q1;

%CsvExl_Import(location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl.
              ,filename= caCat_Test_Plan_&amp;amp;impl.
              ,DBMS= xlsx
              ,outfile= caCat_Test_Plan_&amp;amp;impl.)

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&amp;amp;rootDir. was defined at the beginning. Here is the log with one error:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;MPRINT(CSVEXL_IMPORT): proc import datafile="/u02/users/xlis/sas-fork/projects/pmh/qa/qci/pmh-be-car-cat/2019q1caCat_Test_Plan_2019q1.xlsx" DBMS= xlsx REPLACE out=&lt;BR /&gt;work.caCat_Test_Plan_2019q1;&lt;BR /&gt;MPRINT(CSVEXL_IMPORT): RXLX;&lt;BR /&gt;MPRINT(CSVEXL_IMPORT): getnames=yes;&lt;BR /&gt;MPRINT(CSVEXL_IMPORT): run;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Physical file does not exist, /u02/users/xlis/sas-fork/projects/pmh/qa/qci/pmh-be-car-cat//2019q1caCat_Test_Plan_2019q1.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't figure out the reason of having double slash before 2019 and the missing slash before the Excel file name, and causing the failure of importing. Asking for help to fix the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 19:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559119#M156095</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-15T19:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559127#M156097</link>
      <description>What happens if you hard code things instead of using macro variables. Note that one line in the log is RXLX - where does that come from?</description>
      <pubDate>Wed, 15 May 2019 19:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559127#M156097</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-15T19:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559133#M156099</link>
      <description>&lt;P&gt;This is part of my code, and the problem does not make sense to me. I used 2019q1 instead of the &amp;amp;impl., it came out the same error.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 19:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559133#M156099</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-15T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559155#M156110</link>
      <description>Then the filepath is wrong. Make sure you macro variables are resolving to what you think they should be, but if it is, SAS may not have access to that folder/drive or the path may be different.</description>
      <pubDate>Wed, 15 May 2019 20:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559155#M156110</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-15T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559169#M156114</link>
      <description>&lt;P&gt;There is no mistake for the file path. I resolved it by adding a slash after the macro variable &lt;CODE class=" language-sas"&gt;&amp;amp;impl. for the location&lt;/CODE&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%CsvExl_Import(location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl./
              ,filename= caCat_Test_Plan_&amp;amp;impl.
              ,DBMS= xlsx
              ,outfile= caCat_Test_Plan_&amp;amp;impl.)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But I still could not explain it because the slash '/' added seems an extra one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly, if I had one more macro variables at the end like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;CODE class=" language-sas"&gt;location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl./&amp;amp;evn. for another path which is:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/2019q1/dev&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;The error will come out as 3 slashs instead of 2 slashes. In this case, that I add an extra slash like above example can not fix the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 21:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559169#M156114</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-15T21:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559200#M156124</link>
      <description>&lt;P&gt;I don't see any extra slashes in any of the error messages you have posted. Although it is hard to read them if you don't use the Insert Code pop-up so that the formatting is preserved.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 01:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559200#M156124</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-16T01:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559201#M156125</link>
      <description>&lt;P&gt;In my first post, the error message is:&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, /u02/users/xlis/sas-fork/projects/pmh/qa/qci/pmh-be-car-cat&lt;STRONG&gt;//&lt;/STRONG&gt;2019q1caCat_Test_Plan_2019q1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two slashes between "pmh-be-car-cat" and&lt;STRONG&gt; "&lt;/STRONG&gt;2019q1caCat_Test_Plan_2019q1". This error caused the failure of importing the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The right file path I expect the code in my first post to resolve is "/u02/users/xlis/sas-fork/projects/pmh/qa/qci/pmh-be-car-cat&lt;STRONG&gt;/&lt;/STRONG&gt;2019q1/caCat_Test_Plan_2019q1", but the actual result is an error. I can't find out the reason.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 02:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559201#M156125</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-16T02:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559212#M156129</link>
      <description>&lt;P&gt;One possible cause of the extra / would be that the %LET in your code did not run and instead the value of the IMPL macro variable included a leading slash.&amp;nbsp; Perhaps the statement before what you posted was missing an ending semi-colon?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other might be that PROC IMPORT got confused by such a long path?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you need to use PROC IMPORT?&amp;nbsp; Why not just use the XLSX libname engine instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course none of this matters if the real issue is that the file is not where you think it is and that is why SAS cannot find it.&amp;nbsp; Your paths are unix paths so make sure the case of every letter is correct as filenames on Unix are case sensitive.&amp;nbsp; Also make sure that there are not goofy characters in the actual filename, like spaces, that might be hard to see if you are trying to re-type the path instead of copying and pasting from your directory listing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 03:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559212#M156129</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-16T03:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559213#M156130</link>
      <description>&lt;P&gt;I can't see the suffix .xlsx in the error message. Is that eventually the issue?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ERROR: Physical file does not exist, ....&lt;/SPAN&gt;&lt;SPAN&gt;2019q1caCat_Test_Plan_2019q1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;&lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;rootDir&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;projects&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;pmh&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;qa&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;qci&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;pmh&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;be&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;car&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;cat&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;impl&lt;SPAN class="token punctuation"&gt;..xlsx&lt;/SPAN&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Or eventually as a first test pass in the fully qualified path name like:&lt;/P&gt;
&lt;PRE&gt;/u02/users/xlis/sas-fork/projects/pmh/qa/qci/pmh-be-car-cat/2019q1caCat_Test_Plan_2019q1.xlsx&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 May 2019 03:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559213#M156130</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-05-16T03:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559214#M156131</link>
      <description>&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token macrobound"&gt;%macro&lt;/SPAN&gt; CsvExl_Import&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; DBMS&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; outfile&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;import&lt;/SPAN&gt; datafile&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"&amp;amp;location./&amp;amp;filename..&amp;amp;DBMS."&lt;/SPAN&gt;
DBMS&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;DBMS&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; 
&lt;SPAN class="token keyword"&gt;REPLACE&lt;/SPAN&gt;
out&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; work&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;outfile&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
getnames&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;yes&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token macrobound"&gt;%mend&lt;/SPAN&gt; CsvExl_Import&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The suffix is added inside the macro code (line 2):&amp;nbsp; '&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token string"&gt;&amp;amp;filename..&amp;amp;DBMS'.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 04:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559214#M156131</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-16T04:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559335#M156171</link>
      <description>No it isn't. That's the DBMS. The extension needs to be on the file name as well.</description>
      <pubDate>Thu, 16 May 2019 14:51:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559335#M156171</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-16T14:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559349#M156174</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%CsvExl_Import(location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl./
              ,filename= caCat_Test_Plan_&amp;amp;impl.
              ,DBMS= xlsx
              ,outfile= caCat_Test_Plan_&amp;amp;impl.)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I defined DBMS= xlsx. &amp;amp;impl is resolved as " 2019". So, &amp;amp;filename..&amp;amp;DBMS. is resolved as "cacat_Test_plan_2019.xlsx". This name is the targeted file to import.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 15:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559349#M156174</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-16T15:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559379#M156183</link>
      <description>Thanks, you are correct. You do need to test the hard coded version first - no macro variables at all. Does that work? If not, then it's a file path/access issue. If the hard coding does work then the issue is with the macro variable resolution most likely. &lt;BR /&gt;&lt;BR /&gt;Other than that, your code is conceptually correct so I'm going to guess that it's a filepath/access issue.</description>
      <pubDate>Thu, 16 May 2019 15:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559379#M156183</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-16T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559434#M156206</link>
      <description>&lt;P&gt;In your first post you have the string "bene" in your file path. In all subsequent posts the "bene" is gone and replaced with "be"&lt;/P&gt;&lt;P&gt;Which one is correct? "bene" or "be"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the let statement appears to have a space between the equals sign and the start of the name you want. Maybe the space is being captured and inserted into your file path? On Linux, spaces in file names are possible but you need to use a / before the space. Maybe SAS is trying to do something like that and is not quite able to do it? Maybe SAS is translating the space as a / which would give you two slashes which means that the resulting file path would not be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 18:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559434#M156206</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-05-16T18:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559450#M156211</link>
      <description>&lt;P&gt;In one of your posts you said this:&lt;/P&gt;&lt;P&gt;I defined DBMS= xlsx. &amp;amp;impl is resolved as " 2019".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so it does look like the let statement is capturing the leading space before 2019. Try removing the leading space in your let statement.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 18:53:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559450#M156211</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-05-16T18:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559530#M156248</link>
      <description>&lt;P&gt;Good suggestion! I will test the hard coded version to diagnose the cause of the error.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 02:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559530#M156248</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-17T02:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559532#M156250</link>
      <description>&lt;P&gt;'bene' you caught is a typo. It should be 'be'. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will check the effect of the space between the equal sign and the start of text in let statement. Thanks for the suggestion.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 02:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559532#M156250</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-17T02:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559695#M156335</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I restarted the SAS EG and re-selected all the programs I want to use, and re-run the codes line by line. I realized that the problem came from the environment before was messed up by various modified versions existed in the environment during the testing. The most critical problem was related to the filepath/access issue as you pointed out in your post. I have several letters which were upper cases in my code, but they were lower cases in the actual directory name (from the error message we can't see it). The double slashes '//' I got in the error message means the access denied because the path is case sensitive.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 15:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/559695#M156335</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-17T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/560130#M156541</link>
      <description>Thanks to all suggestions in the discussions. These suggestions provide all the ways/directions to debug the code. In summary, by testing, I found in the current scenario, two ways made it work:&lt;BR /&gt;1) update the cases of letters in the path/file to be consistent;&lt;BR /&gt;2) I added a slash to the end of the first line, it could import the data (not knowing why, but this was what happened):&lt;BR /&gt;%CsvExl_Import(location= &amp;amp;rootDir.projects/pmh/qa/qci/pmh-be-car-cat/&amp;amp;impl./&lt;BR /&gt;,filename= caCat_Test_Plan_&amp;amp;impl.&lt;BR /&gt;,DBMS= xlsx&lt;BR /&gt;,outfile= caCat_Test_Plan_&amp;amp;impl.)</description>
      <pubDate>Mon, 20 May 2019 13:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Physical-file-does-not-exist/m-p/560130#M156541</guid>
      <dc:creator>leehsin</dc:creator>
      <dc:date>2019-05-20T13:38:40Z</dc:date>
    </item>
  </channel>
</rss>

