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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1248 views
  • 2 likes
  • 2 in conversation