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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
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

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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