<?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 when doing macro import in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409002#M99899</link>
    <description>&lt;P&gt;Make sure that the file is there. When SAS says a file ain't there, it ain't there, period.&lt;/P&gt;
&lt;P&gt;It also helps to have easily usable names for paths and files:&lt;/P&gt;
&lt;P&gt;- no blanks&lt;/P&gt;
&lt;P&gt;- no special characters (aside from letters, digits, underlines or dots)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes an inserted special character in a filename (like a tab) might disguise as a blank and cause confusion. So instead of blanks, always use underlines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See Maxim 44.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 06:27:04 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-10-31T06:27:04Z</dc:date>
    <item>
      <title>Error: Physical file does not exist when doing macro import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/408984#M99888</link>
      <description>&lt;P&gt;I am doing a macro import of data from excel and it has worked except for a specific set of data. This data is on my computer and the format of the data is the same as the rest so I do not know why only that data has that error. I have attached these pictures which are the macro code, the error message I get for the specific data, and an example of the successful macro import for my other data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any suggestions on how to fix this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-30 (1).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16339iC61CA7D329182131/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-10-30 (1).png" alt="2017-10-30 (1).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-30 (2).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16340iBA8146CC40252BE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-10-30 (2).png" alt="2017-10-30 (2).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-30 (3).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16341i0986B8824F56E4FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-10-30 (3).png" alt="2017-10-30 (3).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 04:53:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/408984#M99888</guid>
      <dc:creator>ac16c</dc:creator>
      <dc:date>2017-10-31T04:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Physical file does not exist when doing macro import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/408989#M99889</link>
      <description>&lt;P&gt;Show us the (trimmed if necessary) output from this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename DIR pipe 'dir "c:\fullpath" ';
data _null_;
  infile DIR;
  input; 
  putlog _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2017 05:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/408989#M99889</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-10-31T05:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Physical file does not exist when doing macro import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409002#M99899</link>
      <description>&lt;P&gt;Make sure that the file is there. When SAS says a file ain't there, it ain't there, period.&lt;/P&gt;
&lt;P&gt;It also helps to have easily usable names for paths and files:&lt;/P&gt;
&lt;P&gt;- no blanks&lt;/P&gt;
&lt;P&gt;- no special characters (aside from letters, digits, underlines or dots)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes an inserted special character in a filename (like a tab) might disguise as a blank and cause confusion. So instead of blanks, always use underlines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See Maxim 44.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 06:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409002#M99899</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-31T06:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Physical file does not exist when doing macro import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409170#M99953</link>
      <description>Copy the path to the file from the log. 
Paste it into your browser and see if the file opens. If it doesn't, the file doesn't exist. 


There's probably a small text anomaly with that file, ie an extra space or someone put 04 instead of 4.</description>
      <pubDate>Tue, 31 Oct 2017 15:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409170#M99953</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-31T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Physical file does not exist when doing macro import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409295#M99980</link>
      <description>Thank you. I had an extra space after the last character in my filename.</description>
      <pubDate>Tue, 31 Oct 2017 21:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Physical-file-does-not-exist-when-doing-macro-import/m-p/409295#M99980</guid>
      <dc:creator>ac16c</dc:creator>
      <dc:date>2017-10-31T21:07:25Z</dc:date>
    </item>
  </channel>
</rss>

