BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
elisehoo1
Obsidian | Level 7

dear all,

 i need some helps here to get some SAS Viya concept right.   i  plan to develop  a set of sas code to do some data management stuffs  and  to schedule these set of code at batch mode. 

 

if any advise can be shared here about what is the best practice to store the code in SAS VIYA? should i store them under <SAS Content> 

elisehoo1_1-1619697836740.png

but i noticed that if the sas code that stored under sas content , the file seems not able to located in server as test.sas . I wondering where the files stores at ? it seems there are some file services related topic that i need to refer . 

 

i also would like to know that if we i can change the home path under the saserver to my project folder (linux path) ? 

 

elisehoo1_2-1619697939632.png

 

i am thinking if i stored as the file name as what i saved as , it will be easy for me to imaging my code to be called in batch run by CLI or Linux batch command. 

 

Sorry I have been working in SAS DI environment, i may asking something which is basic here just it has so many unfamiliar concept to me in the sas viya, thank you in advance of your help and support. 

 

thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
SAS Content files are stored in the database rather than on the file system directly.

SAS Viya Files Service
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/pgmdiff/n0yongyfd9lh7yn1nw30pyet1ft4.htm

You can adjust SAS Studio's configuration to use an alternate home directory using the FileNavigationRoot and FileNavigationCustomRootPath properties:

https://communities.sas.com/t5/SAS-Communities-Library/Control-SAS-Studio-file-system-access-in-SAS-...
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

1 REPLY 1
gwootton
SAS Super FREQ
SAS Content files are stored in the database rather than on the file system directly.

SAS Viya Files Service
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/pgmdiff/n0yongyfd9lh7yn1nw30pyet1ft4.htm

You can adjust SAS Studio's configuration to use an alternate home directory using the FileNavigationRoot and FileNavigationCustomRootPath properties:

https://communities.sas.com/t5/SAS-Communities-Library/Control-SAS-Studio-file-system-access-in-SAS-...
--
Greg Wootton | Principal Systems Technical Support Engineer