Open a new file, write a LIBNAME statement to create a library named PG1 that reads SAS tables in the data folder. Here is an example of the code:
It says "you will need to change the path to the path of YOUR data folder". so here is what I have:
libname pg1 base "/Files/PG1/data";
Then it tells me that "Library PG1 does not exist", can anyone tell me what the right path is (The data needed is in the PG1 folder)?
I'm using SAS University Edition and I'm using Macbook.
1. I don't use UE but maybe
libname pg1 base "~/Files/PG1/data";
works?
1. I don't use UE but maybe
libname pg1 base "~/Files/PG1/data";
works?
Thank you. It works.
> The data needed is in the PG1 folder
Why do you point to the data folder then?
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.