BookmarkSubscribeRSS Feed

We would like the ability to save/export a Studio flow as a .sas external file. To be able to specify the path and filename.

 

We are migrating from Enterprise Guide and this is a critical feature that is used extensively by many users to export process flows and execute the resulting .sas in a batch environment. We intend to follow the same way of working in SAS Viya/Studio.

7 Comments
strehan23
Calcite | Level 5

Hi,

I would also like to have this functionality included in SAS Studio.

 

Thanks!

kartikgro
Calcite | Level 5

This is a very useful feature to have in SAS Studio. SAS - could you Please create a case and take this forward .

SabiM
Calcite | Level 5

Hi,

I would also like to have this functionality added as its very useful feature.

Thanks

 

allisterv
Calcite | Level 5

Definitely would like to have this feature in SAS Studio and extremely reliant on it in SAS Enterprise Guide.

Quentin
Super User

I'm not a Studio user, but surprised to hear this feature is not there already.  I did find this related post about batch-submitting Studio flows in Viya.

 

https://communities.sas.com/t5/SAS-Communities-Library/How-to-Run-a-SAS-Studio-Flow-in-Batch/ta-p/73...

 

But I can't tell if it ever writes a .sas file.  As I noted in the comments, as a developer, it didn't look very easy to me to get it working.  In SAS 9, I always like that whether I'm using Display Manager, EG, DI Studio, Stored Processes, whatever, the heart of it is always a .sas file.  And you could move that .sas file between environments/applications.

SASKiwi
PROC Star

@Quentin - Coincidentally, this post shows you how to do it with Python: https://communities.sas.com/t5/SAS-Communities-Library/How-to-Get-the-Code-From-a-SAS-Studio-Flow-Us...

 

To me this seems like a clunky workaround when EG has a simple menu option to do it. Why can't SAS Studio do it via a menu option as well?

Reeza
Super User

Does the Generate Code button in the flow not generate the appropriate code? Or is it the feature of having this as a task and the option to specify the save as path what you need?

I'd guess that it isn't that hard to build your own task to do that, since the capabilities are there.

 

Reeza_0-1677185158768.png