<?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: filename - ERROR: Physical file does not exist in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/544030#M150416</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Windows Explorer has a nasty habit of not displaying the extension on filenames. There are ways to turn off that horrible feature.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One of the very first things I do when I get a new windows box: Turn on file extensions in Windows Explorer or any other file viewing program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In some dialog boxes you might have to do a "show all files" as some will assume (often incorrectly) what file type you may be looking for.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 16:20:51 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-18T16:20:51Z</dc:date>
    <item>
      <title>filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543753#M150324</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with next item?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to read a very simple dataset, however, I'm getting an error in the log and program is not being executed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raul 8&lt;BR /&gt;Rodo 9&lt;BR /&gt;Carl 10&lt;BR /&gt;Pedr 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename grade "C:\Users\DELL\Desktop\Length1.txt";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data grade_cat;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;infile grade;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;input Name Grade;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=grade_cat;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, C:\Users\DELL\Desktop\Length1.txt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The situation is that file indeed exist in this path, there are NOT:&lt;/P&gt;&lt;P&gt;-spelling issues&lt;/P&gt;&lt;P&gt;-path name issues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 01:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543753#M150324</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-17T01:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543758#M150326</link>
      <description>&lt;P&gt;try this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
 
data grade_cat;
         infile "C:\Users\DELL\Desktop\Length1.txt";
         input Name Grade;
run;
 
proc print data=grade_cat;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 17 Mar 2019 02:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543758#M150326</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-03-17T02:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543760#M150327</link>
      <description>&lt;P&gt;SAS only throws this error if the file really isn't accessible to SAS because it doesn't exist at all or because the user under which SAS runs doesn't have access to the file (so can't "see" it).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please keep in mind that you need to use a path as "seen" from the server where SAS executes. If you don't have a local installation of SAS then a path on your local machine will most likely not be accessible from the server where SAS executes - or at least will look different (so not &lt;SPAN&gt;C:\Users\DELL\Desktop\...).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 02:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543760#M150327</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-03-17T02:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543837#M150358</link>
      <description>&lt;P&gt;You can run&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename DIR pipe 'dir c:\Users\DELL\Desktop';
data _null_;
  infile DIR; 
  input;
  put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to see what SAS sees (provided you are allowed to access the OS command line from SAS).&lt;/P&gt;
&lt;P&gt;The likely reason for your issue is that you are confusing which machine SAS runs on vs where the file is located.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 21:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543837#M150358</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-03-17T21:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543880#M150366</link>
      <description>&lt;P&gt;This is usually a context issue. Your SAS session runs in a different context than Windows Explorer. This may be a different machine (if SAS is installed on a server), or a different user-ID (eg pooled workspace server), or something caused by Windows peculiarities (SAS started by the object spawner runs in "batch mode" vs the "desktop mode" you are used to).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you need to view your problem in light of this. Are you using SAS Studio, Enterprise Guide, or the Display Manager of Base SAS?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 07:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543880#M150366</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-18T07:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543992#M150398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was one of the first things I tried, but the error is the same &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543992#M150398</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-18T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543993#M150399</link>
      <description>Thank you for your reply, however, I do have SAS 9.4 instaled in my lap, and file exist (I'm seeing it) in the path.</description>
      <pubDate>Mon, 18 Mar 2019 14:24:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543993#M150399</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-18T14:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543994#M150400</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235651"&gt;@rodolfo_1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for your reply, however, I do have SAS 9.4 instaled in my lap, and file exist (I'm seeing it) in the path.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There are ways for the name of the file to be different than it appears. For example of the name of the file has a trailing blank space then you might not notice it by just looking at a directory listing or Windows Explorer window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run the diagnostic test code that others have posted.&amp;nbsp; If you cannot figure out the answer then post the results of those tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:32:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543994#M150400</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-03-18T14:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543995#M150401</link>
      <description>&lt;P&gt;This si the log what I getting after run this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;14 filename DIR pipe 'dir c:\Users\DELL\Desktop';&lt;BR /&gt;15 data _null_;&lt;BR /&gt;16 infile DIR;&lt;BR /&gt;17 input;&lt;BR /&gt;18 put _infile_;&lt;BR /&gt;19 run;&lt;/P&gt;&lt;P&gt;NOTE: The infile DIR is:&lt;BR /&gt;Unnamed Pipe Access Device,&lt;BR /&gt;PROCESS=dir c:\Users\DELL\Desktop,RECFM=V,&lt;BR /&gt;LRECL=32767&lt;/P&gt;&lt;P&gt;El volumen de la unidad C no tiene etiqueta.&lt;BR /&gt;El n£mero de serie del volumen es: 1CA4-B67D&lt;/P&gt;&lt;P&gt;Directorio de c:\Users\DELL\Desktop&lt;/P&gt;&lt;P&gt;15/03/2018 12:00 a. m. &amp;lt;DIR&amp;gt; .&lt;BR /&gt;15/03/2018 12:00 a. m. &amp;lt;DIR&amp;gt; ..&lt;BR /&gt;12/02/2019 09:46 p. m. &amp;lt;DIR&amp;gt; Coursera&lt;BR /&gt;15/03/2019 10:48 p. m. &amp;lt;DIR&amp;gt; Docs&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; INC_Info&lt;BR /&gt;16/03/2019 06:30 p. m. 31 Length1.DAT&lt;BR /&gt;10/11/2018 10:53 p. m. 1,417 Microsoft Edge.lnk&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; Project_management&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; R&lt;BR /&gt;10/11/2018 11:25 p. m. 1,124 R x64 3.5.1.lnk&lt;BR /&gt;10/11/2018 11:51 p. m. 941 RStudio.lnk&lt;BR /&gt;15/03/2019 10:42 p. m. &amp;lt;DIR&amp;gt; SAS&lt;BR /&gt;10/11/2018 11:15 p. m. 2,052 SAS_9.4.lnk&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; Statistic&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; UOC&lt;BR /&gt;05/02/2019 09:43 p. m. &amp;lt;DIR&amp;gt; VBA&lt;BR /&gt;5 archivos 5,565 bytes&lt;BR /&gt;11 dirs 188,154,019,840 bytes libres&lt;BR /&gt;NOTE: 23 records were read from the infile DIR.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 60.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.26 seconds&lt;BR /&gt;cpu time 0.09 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543995#M150401</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-18T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543996#M150402</link>
      <description>I'm using SAS 9.4 installed in my lap</description>
      <pubDate>Mon, 18 Mar 2019 14:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543996#M150402</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-18T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543997#M150403</link>
      <description>&lt;P&gt;You have a file in that directory named LENGTH1.DAT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code refers to a file named LENGTH1.TXT&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543997#M150403</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-03-18T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543999#M150404</link>
      <description>Thank you :), that's right, I do not know why the extention of the file 'LENGTH1' was saved as .DAT if I created it openning a notepad and saving it as alwas in the desktop, I've learned something now today.</description>
      <pubDate>Mon, 18 Mar 2019 14:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/543999#M150404</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2019-03-18T14:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/544001#M150405</link>
      <description>&lt;P&gt;Windows Explorer has a nasty habit of not displaying the extension on filenames. There are ways to turn off that horrible feature.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/544001#M150405</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-03-18T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: filename - ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/544030#M150416</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Windows Explorer has a nasty habit of not displaying the extension on filenames. There are ways to turn off that horrible feature.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One of the very first things I do when I get a new windows box: Turn on file extensions in Windows Explorer or any other file viewing program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In some dialog boxes you might have to do a "show all files" as some will assume (often incorrectly) what file type you may be looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/filename-ERROR-Physical-file-does-not-exist/m-p/544030#M150416</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-18T16:20:51Z</dc:date>
    </item>
  </channel>
</rss>

