@lmills3 wrote:
Below is the message I received when trying to do an activity, in Lesson 2: Accessing Data:
proc contents data="FILEPATH/storm_summary.sas7bdat";
ERROR: Path "FILEPATH" does not exist.
72
run;
Why? What did I not do right?
FILEPATH is a place holder in code where you should replace the text 'FILEPATH' with an actual location on your computer such as
"c:\thisfolder\datafolder\storm_summary.sas7bdat". You value should include the actual path to where that data file is located.
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.
This is also one reason that SAS uses library references so that most of that path stuff can be set in one piece of code not needed again.