<?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: Filepath not found? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576228#M13032</link>
    <description>&lt;P&gt;Looks like you didn't replace the example text FILEPATH with the actual path of the directory where your file is stored. Something like one of these.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data="/home/myuserid/mysasfile/storm_summary.sas7bdat";
proc contents data="c:\users\myuserid\mysasfile\storm_summary.sas7bdat";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Another possibility is that they wanted you to make a macro variable named&amp;nbsp; FILEPATH that has the path of the directory and you should be using &amp;amp;FILEPATH in your PROC CONTENTS code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let filepath=/home/myuserid/mysasfile;
proc contents data="&amp;amp;filepath./storm_summary.sas7bdat";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more precise help explain what lesson you are running and SAS interface you are using.&amp;nbsp; SAS Display Manager? SAS Enterprise Guide? SAS/Studio.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 16:07:47 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-07-24T16:07:47Z</dc:date>
    <item>
      <title>Filepath not found?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576223#M13030</link>
      <description>&lt;DIV class="sasSource"&gt;Below is the message I received when trying to do an activity, in Lesson 2: Accessing Data:&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;proc contents data="FILEPATH/storm_summary.sas7bdat";&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Path "FILEPATH" does not exist.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Why? What did I not do right?&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:01:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576223#M13030</guid>
      <dc:creator>lmills3</dc:creator>
      <dc:date>2019-07-24T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filepath not found?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576226#M13031</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/282704"&gt;@lmills3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class="sasSource"&gt;Below is the message I received when trying to do an activity, in Lesson 2: Accessing Data:&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;proc contents data="FILEPATH/storm_summary.sas7bdat";&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Path "FILEPATH" does not exist.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Why? What did I not do right?&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;FILEPATH is a place holder in code where you should replace the text 'FILEPATH' with an actual location on your computer such as&lt;/P&gt;
&lt;P&gt;"c:\thisfolder\datafolder\storm_summary.sas7bdat". You value should include the actual path to where that data file is located.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since different computer operating systems use different ways to indicate paths and the start of path (windows uses a drive letter to start, Unix a drive mount name) the example code uses a generic term.&lt;/P&gt;
&lt;P&gt;This is also one reason&amp;nbsp; that SAS uses library references so that most of that path stuff can be set in one piece of code not needed again.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576226#M13031</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-24T16:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filepath not found?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576228#M13032</link>
      <description>&lt;P&gt;Looks like you didn't replace the example text FILEPATH with the actual path of the directory where your file is stored. Something like one of these.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data="/home/myuserid/mysasfile/storm_summary.sas7bdat";
proc contents data="c:\users\myuserid\mysasfile\storm_summary.sas7bdat";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Another possibility is that they wanted you to make a macro variable named&amp;nbsp; FILEPATH that has the path of the directory and you should be using &amp;amp;FILEPATH in your PROC CONTENTS code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let filepath=/home/myuserid/mysasfile;
proc contents data="&amp;amp;filepath./storm_summary.sas7bdat";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more precise help explain what lesson you are running and SAS interface you are using.&amp;nbsp; SAS Display Manager? SAS Enterprise Guide? SAS/Studio.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:07:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576228#M13032</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-24T16:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filepath not found?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576230#M13033</link>
      <description>&lt;P&gt;using your mouse point at the table storm_summary and see what the path to the file is.&lt;/P&gt;
&lt;P&gt;Then replace the filepath with the real path name to the data table.&lt;/P&gt;
&lt;P&gt;its going to start with a \ or a // or maybe a C:\ but only you can tell for sure.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576230#M13033</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-07-24T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filepath not found?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576976#M13131</link>
      <description>&lt;P&gt;I wish that answered it, yet I am uncertain what I have done wrong in the "setup" ....maybe..?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied and pasted my location of the filepath and I still have the 'error' message&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 16:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filepath-not-found/m-p/576976#M13131</guid>
      <dc:creator>lmills3</dc:creator>
      <dc:date>2019-07-26T16:36:00Z</dc:date>
    </item>
  </channel>
</rss>

