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. 

 

Is there any hope of retrieving them? 

 

Thanks. 

 

Dan Keating

1 ACCEPTED SOLUTION

Accepted Solutions
NewsGuy
Fluorite | Level 6

This was solved in the SAS Studio group. 

 

https://communities.sas.com/t5/SAS-Studio/Where-are-snippets-stored-in-SAS-Studio-Viya-docker-instan...

 

 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.

View solution in original post

1 REPLY 1
NewsGuy
Fluorite | Level 6

This was solved in the SAS Studio group. 

 

https://communities.sas.com/t5/SAS-Studio/Where-are-snippets-stored-in-SAS-Studio-Viya-docker-instan...

 

 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-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

Discussion stats
  • 1 reply
  • 1731 views
  • 0 likes
  • 1 in conversation