BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
YHelie1
Fluorite | Level 6

Hi,

 

Searching how we can set a SAS Studio Options in Viya 20##.

 

Ex: How can you set NODLCREATEDIR

 

No luck so far.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
You can set SAS options in the compute context configuration, so if you wanted to set the option NODLCREATEDIR for SAS Studio sessions, you could do this by editing the SAS Studio Compute Context in SAS Environment Manager -> Contexts -> Compute Contexts -> SAS Studio Compute Context and adding -NODLCREATEDIR to the SAS Options field.

Compute Contexts
https://go.documentation.sas.com/doc/en/sasadmincdc/v_049/calcontexts/n05013viyaprgmsrvs00000admin.h...

If you wanted to apply this option more broadly, like for all compute server sessions, you could add it to the configuration file for the compute server in SAS Environment Manager -> Configuration -> Compute Service -> sas.compute.server: configuration_options. For those settings to take effect, note that SAS_ALLOW_ADMIN_SCRIPTS must be set to true.

Edit Configuration Instances
https://go.documentation.sas.com/doc/en/sasadmincdc/v_049/calsrvpgm/n00001viyaprgmsrvs00000admin.htm...
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

3 REPLIES 3
Tom
Super User Tom
Super User

@YHelie1 wrote:

Hi,

 

Searching how we can set a SAS Studio Options in Viya 20##.

 

Ex: How can you set NODLCREATEDIR

 

No luck so far.

 

 


NODLCREATEDIR is a SAS option.  It should not have anything to do with SAS/Studio.

 

If you are using SAS/Studio then try running the statement:

options NODLCREATEDIR 

Or are you asking how to change the configuration of the application server that you are connecting to with SAS/Studio so that is the default setting before the users submit any code?

 

Again that does not seem to be a SAS/Studio setting, but a normal SAS config setting.

 

gwootton
SAS Super FREQ
You can set SAS options in the compute context configuration, so if you wanted to set the option NODLCREATEDIR for SAS Studio sessions, you could do this by editing the SAS Studio Compute Context in SAS Environment Manager -> Contexts -> Compute Contexts -> SAS Studio Compute Context and adding -NODLCREATEDIR to the SAS Options field.

Compute Contexts
https://go.documentation.sas.com/doc/en/sasadmincdc/v_049/calcontexts/n05013viyaprgmsrvs00000admin.h...

If you wanted to apply this option more broadly, like for all compute server sessions, you could add it to the configuration file for the compute server in SAS Environment Manager -> Configuration -> Compute Service -> sas.compute.server: configuration_options. For those settings to take effect, note that SAS_ALLOW_ADMIN_SCRIPTS must be set to true.

Edit Configuration Instances
https://go.documentation.sas.com/doc/en/sasadmincdc/v_049/calsrvpgm/n00001viyaprgmsrvs00000admin.htm...
--
Greg Wootton | Principal Systems Technical Support Engineer
YHelie1
Fluorite | Level 6

Hi Greg,

 

Always resourceful, I should have asked you first, but I think it will be good to share!:-)

 

Thx.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 653 views
  • 0 likes
  • 3 in conversation