BookmarkSubscribeRSS Feed
jcbell
Obsidian | Level 7

I have a requirement where users would like to view models (SAS Code) and I'd like to use SAS Studio as the interface.  Does anyone know of a way to pass Studio either the SAS code as a Object, stream on a macro variable or reference the code that is previously stored some place.

 

I'd like to send users a URLthat when clicked opens Studio witht the code loaded in the editor.

 

 

Thanks,

 

John

2 REPLIES 2
Reeza
Super User

So this is an interesting question, and hopefully SAS will comment as well.

 

Perhaps Jupyter notebooks will work for you internally? Literally hot off the press 🙂

 

http://blogs.sas.com/content/sasdummy/2016/04/24/how-to-run-sas-programs-in-jupyter-notebook/

 

 

AmyP_sas
SAS Employee

This is a requirement we've heard but I don't have anything to offer you yet.  The first folks that asked for this were other R&D groups at SAS.  Other applications want to use Studio to, for example, view a table, open a process flow diagram, open a task, or, as you mention, open the editor with specific code already displayed.  So basically "calling" Studio to come up in a certain state or with a certain asset open.  So what the Studio R&D team is working on is a more generalized command line framework (for lack of a better term) to provide a way for other SAS applications to invoke a SAS Studio session and perform actions in another browser tab.  I'm sorry I don't have an estimate for when this will be available, though.  

 

If you have a use case that doesn't seem to fit into what I'm describing, please post it so we can make sure to include it in the work going on.

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
  • 1678 views
  • 4 likes
  • 3 in conversation