<?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 message Physical file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768693#M243838</link>
    <description>&lt;P&gt;When I see a mix of forward slashes and backward slashes, it makes me think you haven't figured out the right way to refer to a file.&amp;nbsp; That would be the place to start.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 03:40:43 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2021-09-21T03:40:43Z</dc:date>
    <item>
      <title>Error message Physical file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768690#M243837</link>
      <description>&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;I haven't used SAS in awhile, and so before beginning writing my new program, I wanted to be sure an old program ran well.&amp;nbsp; I am using a different computer than what I used last time I ran SAS, so I took my data files and changed the location on the original program (original data was on an A drive; now it's on a D drive), and tried running the program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a number of errors, but at the most basic level, it is not finding my data files.&amp;nbsp; Here is the message I receive:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist,&lt;/DIV&gt;&lt;DIV class="sasError"&gt;/var/lib/sasstudio/studioconfig/D:\large70.txt.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Insufficient authorization to access&lt;/DIV&gt;&lt;DIV class="sasError"&gt;/var/lib/sasstudio/studioconfig/D:\lzvgk.out.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;This is how I entered my data files:&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;Filename lrg 'D:\large70.txt';&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;74 Filename tbil 'D:\tbill70.txt';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 Filename sml 'D:\small70.txt';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 Filename gov 'D:\govbond70.txt';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 Filename corp 'D:\corpbond70.txt';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 Filename DCA1 'D:\lzvgk.out';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 Filename DCA2 'D:\Tgzv.out';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 Filename DCA3 'D:\small1.out';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 Filename DCA4 'D:\govbond1.out';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82 Filename DCA5 'D:\corpbond1.out';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 Libname SASDATA 'D:\kleggio';&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;As I mentioned, this file did work previously (although it may be a new version of SAS since I ran this last.)&lt;BR /&gt;&lt;BR /&gt;Thanks very much for your help.&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Sep 2021 01:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768690#M243837</guid>
      <dc:creator>6071</dc:creator>
      <dc:date>2021-09-21T01:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error message Physical file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768693#M243838</link>
      <description>&lt;P&gt;When I see a mix of forward slashes and backward slashes, it makes me think you haven't figured out the right way to refer to a file.&amp;nbsp; That would be the place to start.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 03:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768693#M243838</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-09-21T03:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error message Physical file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768697#M243842</link>
      <description>&lt;P&gt;Why are you using Windows paths on a Linux/Unix machine?&lt;/P&gt;
&lt;P&gt;Ask for the location of these files if you don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fyi the part in red is a Unix path, the part in blue is a Windows path.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#FF0000"&gt;/var/lib/sasstudio/studioconfig/&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;D:\&lt;/FONT&gt;large70.txt&lt;/FONT&gt;&lt;/STRONG&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 04:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768697#M243842</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-09-21T04:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error message Physical file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768702#M243847</link>
      <description>&lt;P&gt;Your SAS session runs on a remote UNIX (most probably Linux) server that does not have the concept of drives and drive letters.&lt;/P&gt;
&lt;P&gt;To access external (to SAS) files you need to&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;store them in a location that is also accessible from the SAS server&lt;/LI&gt;
&lt;LI&gt;or upload them, either with the upload facility of SAS Studio, the Copy Files task of Enterprise Guide, or with a file copy utility like WinSCP&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Either way, you have to use UNIX filename syntax (forward slashes to separate directories, and starting at the UNIX root (/). Using ~ or $HOME to address your personal home directory implies this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you access SAS?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 05:08:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768702#M243847</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-21T05:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error message Physical file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768985#M243932</link>
      <description>Thanks; this is a different way to access SAS than what I used last time, and the conventions are different. You resolved the issue for me. I appreciate it.</description>
      <pubDate>Wed, 22 Sep 2021 00:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-message-Physical-file/m-p/768985#M243932</guid>
      <dc:creator>6071</dc:creator>
      <dc:date>2021-09-22T00:52:13Z</dc:date>
    </item>
  </channel>
</rss>

