Hi
I am trying to do the SAS Programming 1: Essentials course for a university assignment, I have absolutely no experience programming so I'm very new to this and sorry if I'm just being stupid! But the instructions say this:
Start SAS Studio.
In the Files and Folders panel, navigate to the EPG1V2 folder that you created in Task 1.
Double-click setup.sas to open it. Don't run the code yet - you must edit the first line of code before you run it.
Expand the EPG1V2 folder in the Files and Folders pane. Right-click the data folder and select Properties. Highlight the file path shown in Location and copy it. Close the Folder Properties window.
In the Code window, edit the program as follows:
but when I click on setup.sas I get this code:
/**********************************************/
/* DO NOT EDIT THE CODE BELOW */
/**********************************************/
%let path=~/EPG1V2/data;
libname PG1 "&path";
%include "&path/pg1v2.sas";
proc contents data=pg1._all_ nods;
run;
Which I assume isn't what I'm meant to get as it says not to edit it and doesn't say FILEPATH anywhere but I'm not sure why or what to do?
Thanks in advance!
The tilde (~) is a Linux "shortcut" to denote a user's home directory
So, if you have already unzipped folder in your path, just run the program, otherwise replace the tilde with the location of the folder.
%let path=~/EPG1V2/data;
There is a video with the instructions:
https://www.youtube.com/watch?hd=1&v=rCZ9CoD-cmc&feature=youtu.be
Best regards,
Javier
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Ready to level-up your skills? Choose your own adventure.