BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
NewsGuy
Fluorite | Level 6

After 20+ years using SAS on the Windows platform, I moved over a year ago to SAS Viya on the Mac OS with SAS Studio. SAS provided some excellent help to get it all up and running. 

 

I just moved to a new docker image with the latest long-term-stable version. 

 

The install went fine and everything is working. 

 

But I realize I lost all the Snippets that I had saved in SAS Studio.  I had saved a ton of code that I use a lot. I found the snippets very helpful.  I don't see anywhere on my hard drive that the snippets have been saved. 

 

I've seen references to locations of snippets in the University Edition and other iterations of SAS Studio.  But they didn't turn up on my machine with the docker implementation. 

 

Is there any hope of retrieving them? 

 

Thanks. 

 

Dan Keating

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Hi Dan,

 

I don't have the exact answer for a Mac, but maybe this will help. I'm assuming that you are using SAS Analytics Pro for SAS Viya, which is run via a Docker image and provides SAS Studio 5.2.

 

On my Windows instance, these are stored in the account-specific folder within the Viya deployment folder. In my case, I have an account called sasdemo and the snippets would be here:

 

C:\SAS\deploy-apro\sasdemo\.sasstudio5\mySnippets

 

The .sasstudio5 folder might be marked as hidden in your Mac file system, as that is a convention in Unix-based file systems. You might need to toggle the visibility in MacOS Finder, or use ls -a when navigating in Terminal.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

Hi Dan,

 

I don't have the exact answer for a Mac, but maybe this will help. I'm assuming that you are using SAS Analytics Pro for SAS Viya, which is run via a Docker image and provides SAS Studio 5.2.

 

On my Windows instance, these are stored in the account-specific folder within the Viya deployment folder. In my case, I have an account called sasdemo and the snippets would be here:

 

C:\SAS\deploy-apro\sasdemo\.sasstudio5\mySnippets

 

The .sasstudio5 folder might be marked as hidden in your Mac file system, as that is a convention in Unix-based file systems. You might need to toggle the visibility in MacOS Finder, or use ls -a when navigating in Terminal.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
NewsGuy
Fluorite | Level 6

Thanks very much.  You are correct. They are there, and were easy to copy over to the updated installation folder. 

 

Thanks. 

 

Dan

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

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
  • 2497 views
  • 1 like
  • 2 in conversation