If that is the case, then the library will not be automatically created each time you open SAS Studio. So that is why the creation of the library worked the first time, but then it was not there in subsequent sessions.
-Brian
Hello Brian,
Could not figure out how to do 'pre-assigning a library' in the virtual machine.
Do yo have any idea?
Thank you,
Quanshuo
What is the libname statement code that you are using to create the library? Is it
libname pg1 '/folders/myfolders/data';
or something else?
-Brian
I see, thank you. To add it to the Autoexec file, you simply open the Autoexec file and then paste that code in there.
First, access the Autoexec file as described in my previous post in this thread. Then paste the
LIBNAME score "/folders/myfolders";
code in there, so it should look like:
Next, hit save (in general it can be helpful to hit Run to make sure everything runs correctly). Now, that statement will be executed each time you open SAS Studio, meaning the score library will automatically be created.
Did that work?
-Brian
Perfect!!
Thank you, Brian.
Quanshuo
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.