BookmarkSubscribeRSS Feed
Fae
Obsidian | Level 7 Fae
Obsidian | Level 7

How do you connect to SAS Studio with Python(VS Code)? 

 

It seem saspy can connect to every SAS product except SAS studio.

 

I am really confuse, is SAS Viya the same as SAS studio?

3 REPLIES 3
Tom
Super User Tom
Super User

SAS/Studio is a USER INTERFACE.

There are SAS/Studio version that can submit code to SAS (BASE SAS, FOUNDATION SAS) and to VIYA (CAS).  So you can use SAS/Studio to create/run code on either platform.

 

For VSCode to connect to SAS it would connect an actual SAS session (similar to how SAS/Studio connects to a SAS session).  

 

My understanding is that the SAS produced extension for VSCode can connect to a CAS session.  I don't think they have yet created a way for it to connect to a normal SAS session.

Sajid01
Meteorite | Level 14

Hello @Fae 
Looks like there is need for greater understanding of the tools that are being used. The answers to your questions are

  1. How do you connect to SAS Studio with Python(VS Code)? 
    SAS Studio and VS Code are two different client applications or GUI/front ends. They serve similar purpose of creating/editing/running the code on a back end server. It could be SAS 9.4 or Viya. Thus both can connect to the same back end but do not expect them to be able to connect to each other.
    It is pertinent to point that SAS Studio is a web Application. One can open the SAS Studio interface in the browser on your desktop, the actual processes are however running on the server. 
    VS Code is an application installed on your desktop/laptop but runs SAS code on the server.
    It should be possible to edit/execute code created in one interface using the other.
  2. I am really confuse, is SAS Viya the same as SAS studio?
    SAS Studio and SAS Viya are not the same.  SAS Studio is a component included in SAS Viya.
    It is a client interface/GUI/Front end for creating/editing/executing your code (and many more functions) on the SAS Viya Server.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 3 replies
  • 1647 views
  • 2 likes
  • 4 in conversation