Mapping the Shared Folder

​If you are using SAS Studio, please ensure that you unzip the 'Geo-targeting' folder in the 'myfolders' folder.

Important!

Having the 'Geo-targeting' folder in the right directory allows you to run the code in this course without changing the directory path.

Please ensure your 'Geo-targeting' folder is unzipped from the 'myfolders' folder.


Let's do a quick test and see if you can import the data files properly.

In the 'Geo-targeting/Data Files' folder, there is a test file:

​Run the code below and see if you can import it successfully.

Note: if you save the 'Geo-targeting' folder right in the 'myfolders' folder, as instructed, you DO NOT have to change the path in the code.

Is the TEST data set created as below?

If yes, congratulation! You can now proceed with the training.


If not, no worries. There are a number of common issues that you can fix quickly:

Common Issue #1: Shared Folder Not Enabled

Have you enabled your shared folder? If not, please do so now. ​Common Issue #2: Incorrect Path

Did you change the directory path in the code that starts with a drive on your PC?

For example:
C:SASUniversityEditionmyfolders...?

If yes, this is NOT the correct path.

SAS Studio runs on a virtual machine, which is considered to be a separate operating system.

When you enable the shared folder, the path to access your file always starts with:

'/folders/myfolders'
The correct path to the test file is:

'/folders/myfolders/Geo-targeting/Data Files/test file.csv'Common Issue #3: Spelling Mistake in the Directory Path

SAS is picky. It can only access files in the SASUniversityEditionmyfolders folder.

Below are the common spelling mistakes in the folder name:

  • SASUniversityEditionsmyfolders
  • SASUniversityEditionmyfolder
  • SASUniversitymyfolders

Please ensure that your folder is named exactly as SASUniversityEditionmyfolders. ​
If none of the above works, please send us an email at info@sascrunch.com along with the following:

  • Your code
  • The SAS log
  • A screen shot of your folder that contains the csv file, such as the example below:

​We will help you with the file import.