In SAS Programming 1: Essentials, lesson 2 I am prompted to write a proc to display contents. I was unable to do this even after I was give the answer: proc contents data="FILEPATH/storm_summary.sas7bdat";
run; I didn't understand the FILEPATH. After some searching in help I found that the correct syntax was: Proc contents data="/folders/myfolders/EPG194/data/storm_summary.sas7bdat"; run; I understand the portion "/myfolders/WPG194/data/storm_summary.sas7bdat" but I don't understand "/folders" because at that point it is really "/SASUniversityEdition". How can a literal "/folders" mean something other than what it says? I would expect something like "//" or "...". 1.) Does "/folders" somehow stand in for (in my case on a mac) "Macintosh HD/Users/<username>/<one more folder which in this case is "SASUniversityEdition">. In other words "/folders" being one folder away from the username? But that makes no sense because data rarely resides under a user name! 2.) And what if there were a folder with just that name "folders"? 3.) How does it work in the real world? I am in a training situation now. Please help me understand the thinking that SAS uses for this syntax. I cannot make sense of it!
... View more