BookmarkSubscribeRSS Feed
Panagiotis
SAS Employee

Hello everyone,

 

There has been an update to the Enterprise Guide course setup on 9/24/2018. If you have downloaded the course data after this date, you can disregard this update.

 

If you have downloaded the course data prior to 9/24/2018 you will encounter the issue when using the "@path/<datalocation>" you will not find the data. To fix this issue you have two options:

 

  • You can download the new course setup data and follow the same instructions as you did previously.

OR

 

  • If you do not want to re-setup the data, you will need to fix the path macro variable to point to your data folder. To do this, you will need to:

1. Open the project you have saved from the course setup. After you open the project, your project tree should look something like this:

1.png

 

2. Select the Autoexec process flow. Then go to File -> New -> Program. Right click the new SAS Program and name the program "path". Make sure path is located after the first two SAS Programs. When Enterprise Guide autoexecs, it will run each program in sequential order. The path program needs to be last. It should look like this:

2.png

 

 

3. Make sure the SAS Program "path" is open and type the following in the editor and run the program:

 

%let path=%superq(path)/data/;

3.png

 

 

4. That's it! Next make sure to save the new project by going to File -> Save All.

 

 

What we needed to do was update the location of the path macro variable. Path was pointing to the location where the data folder was located, but we need to tell SAS to go inside the data folder to find your files.

 

- Peter

 

1 REPLY 1
SASJedi
SAS Super FREQ

Thanks for posting these helpful instructions!

Check out my Jedi SAS Tricks for SAS Users

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1442 views
  • 2 likes
  • 2 in conversation