BookmarkSubscribeRSS Feed

SAS Viya: Set Default Output Library for SAS Studio Flows

Started ‎02-05-2024 by
Modified ‎02-05-2024 by
Views 716

As of the Viya stable 2023.11 release, you have the option to change the default library for the writing of temporary output tables when executing a flow in SAS Studio.  This new option only applies to SAS Studio Flows.

 

By default, the WORK library is used but you now have the option to set a different library for these temporary tables.  You can set this option for all SAS Studio flows you create or set it for a single SAS Studio flow.

 

Set for All SAS Studio Flows

 

In SAS Studio, select Options → Preferences from the menu.  Select Tables to view the table preference options.  The newly added section is Default Output Libraries.

 

mk_1_DefaultLib.jpg

Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.

 

The application default is the WORK SAS library.  Select the radio button for Output library location and then select mk_1_icon_DefaultLib.jpg and navigate to the library you want to set as the new default for SAS Studio Flows.

 

mk_2_DefaultLib.jpg

 

Click Save to save the default output library selection.  This sets the default output library for all your SAS Studio Flows.

 

Set for Single SAS Studio Flow

 

Open the SAS Studio Flow where you want to set a different default output table library option.  On the right-hand side of the flow, select  mk_2_icon_DefaultLib.jpg to open the Properties pane for the flow.

 

mk_3_DefaultLib.jpg

 

In the Default output library for intermediate tables section, the application default is the WORK SAS library.  Select the radio button for Output library location and then select  mk_3_1_icon_DefaultLib.jpg and navigate to the library you want to set as the new default for SAS Studio Flows.

 

mk_4_DefaultLib.jpg

 

Save the flow to save the change to the properties.  This sets the default output library just for this SAS Studio Flow.

 

Summary

You can now change the location where temporary output tables are written when executing a SAS Studio Flow.  For more information, refer to the documentation.

 

Find more articles from SAS Global Enablement and Learning here.

Version history
Last update:
‎02-05-2024 02:04 PM
Updated by:
Contributors

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags