Changing your path with pointing and clicking in SAS Enterprise Guide

I am aware that the world is full of people who don’t know what a C-prompt is and who are unfamiliar with the concept of a path. Suppose you are one of those people (and no, I’m not judging you As Will Rogers said, “Everyone is ignorant, just on different subjects. He was a pretty popular guy. It seems like half the public facilities in Santa Monica/ Malibu are named after him.)

You have received a SAS Enterprise Guide Project, along with the data used. Life should be wonderful. However, when you try to run it you get an error because the project assumes the data is in one place – on the computer of the person who created the project, and it is actually in a different place on your computer. Have no fear. It’s really easy to change.

 

Your open project looks like this. Right-click on the data set you want to change. In my case, it is the first one in the process flow, the rest of the data sets are created from this one.

Process flow

 

When you right-click on your data set, a drop-down menu will appear with the last choice in the list being Properties.

drop down menu with properties

Select Properties and a new window will pop up. Click on the Change button.

Properties window

A window will pop up that allows you to open the folder containing the data. Just like when you open any kind of file, click on the folder that contains that file.  When you see the file you want, click on it and click on the Open button.

changepath4

You’ll be back at the Properties window. Notice that next to File name it now shows the location (path) of the data on your computer.

changepath5

Last step, be sure to remember to click on the OK button.

That’s it. Now you can run the project and it will access the data on your computer and run merrily away.

Similar Posts

2 Comments

  1. hi there, is it a requirement for the dataset to be named the same? what if you want to update the dataset and still run the same code, ie a monthly report where the input data will be in the same format each month, but have a different file name (ie a monthly prefix)?

    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *