BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Matim
Obsidian | Level 7

Hello All,

I'm currently using SAS Studio to learn programming with SAS. I create a SAS library to store the tables needed to access data and write code, so that I don't have to run into errors because of a non-existent library. When I finish SAS studio for the day, I save my new programs created and when I return later on, I'm able to see my saved programs. However, the library I created is erased after I close the SAS Studio session and launch it the next time. In SAS Studio, can libraries be saved and if so, how can I save libraries? 

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Use the GUI to set up the library. When you do that, there's an option to set automount so it's there everytime you start up.
Under Library, click the cabinet icon and set up the library following the prompts.

Another is to add the library definition to your Autoexec file - if SAS UE - click on the three lines on the top left corner and find the autoexec option and edit it to include your library definition.

View solution in original post

2 REPLIES 2
Reeza
Super User
Use the GUI to set up the library. When you do that, there's an option to set automount so it's there everytime you start up.
Under Library, click the cabinet icon and set up the library following the prompts.

Another is to add the library definition to your Autoexec file - if SAS UE - click on the three lines on the top left corner and find the autoexec option and edit it to include your library definition.

Matim
Obsidian | Level 7

Alright @Reeza ,

I've followed your steps and the library is now available whenever I end and begin a new SAS Session. Thanks for your help.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1040 views
  • 2 likes
  • 2 in conversation