Hi,
I am using the "SAS Certification Prep Guide: Base Programming for SAS 9" to study for my base programming exam. I am using SAS Studio. I am having difficulty setting up the practice data relied on in the certification book. Specifically, SAS Studio is unable to locate the folder on my local Mac OSX machine. When I run the program that's supposed to set up all the practice data after adjusting to the correct folder location, I get the following error:
%let path=/Users/MYCOMPUTER/Downloads/base-guide-practice-data/cert;
/********************************************************************
Do not modify the code below this line
********************************************************************/
%macro setdelim;
%global delim;
%if %index(&path,%str(/)) %then %let delim=%str(/);
%else %let delim=%str(\);
%mend;
%setdelim
%macro makedata;
%include "&path&delim.cre8permdata.sas";
%include "&path&delim.cre8workdata.sas";
%include "&path&delim.cre8flatfiles.sas";
%put;
%put NOTE- *******************************************************;
%put NOTE- Your SAS Certification Prep Guide data files are ready.;
%put NOTE- *******************************************************;
%mend;
%makedata;
Hope this makes sense, TIA!!I have figured this out for those interested -
Steps in SAS Studio
1. Create new folder in the Navigation pane, I named mine 'cert'
2. Upload to the folder 'cert' the SAS codes downloaded from the link in the book
3. In the code 'cre8data.sas', replace the Path macro to be the location of the folder 'cert', which is on the SAS Server, not your local machine
4. Run 'cre8data.sas' and the desired data will populate.
Best
I have figured this out for those interested -
Steps in SAS Studio
1. Create new folder in the Navigation pane, I named mine 'cert'
2. Upload to the folder 'cert' the SAS codes downloaded from the link in the book
3. In the code 'cre8data.sas', replace the Path macro to be the location of the folder 'cert', which is on the SAS Server, not your local machine
4. Run 'cre8data.sas' and the desired data will populate.
Best
Were you using SAS On Demand for Academics or SAS UE? I'm assuming ODA since you mention the SAS Server. Otherwise the path would be something like:
/folders/myfolders/cert/
Either way, please mark the question answered and good luck with your certification practice.
@paulsonalec wrote:
I have figured this out for those interested -
Steps in SAS Studio
1. Create new folder in the Navigation pane, I named mine 'cert'2. Upload to the folder 'cert' the SAS codes downloaded from the link in the book
3. In the code 'cre8data.sas', replace the Path macro to be the location of the folder 'cert', which is on the SAS Server, not your local machine
4. Run 'cre8data.sas' and the desired data will populate.
Best
Hi Everyone,
I'm actually having issues with the data within SAS Enterprise Guide - any tips?
Cheers,
Steamed Hams
SOLVED IT!
My issue was a OneDrive problem. When I downloaded the practice data, it put it in the OneDrive copy of the SASUniversityEdition folder and not the folder on the C: drive, even though I select the SASUniversityEdition folder under "This PC".
I downloaded the zip file to my Downloads folder and moved the base-guide-practice-data folder (containing the cert folder and other documents) to the SASUniversityEdition folder on my C: drive by expanding "OS (C:)" and selecting that folder.
Once I did that, it showed up in UniversityEdition SAS Studio under My Folders.
Whewww!
@DavidBrown Could you post your Log?
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!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.