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

Hi,

 

i would like to change the default folder directory while invoking a new sas session. Now i have to change it everytime in tools->options-> change current foder...

Should I change something in sas confg file ? Thank you for your help.

 

Jedrzej_1-1673511323918.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sajid01
Meteorite | Level 14

Yes it can be done in the sasv9.cfg.
Add the entry

-SASINITIALFOLDER "full_path_to_the_location"

View solution in original post

4 REPLIES 4
Sajid01
Meteorite | Level 14

Yes it can be done in the sasv9.cfg.
Add the entry

-SASINITIALFOLDER "full_path_to_the_location"
Tom
Super User Tom
Super User

How are you starting the new SAS session?

 

If you type the command sas at the command line then normally it should use the current directory you were at when you started SAS.  That is how SAS has worked for me for the past 30 years.  And it is still how it works in our current GRID environment (assuming the current directory is actually available on the GRID node selected for SAS to run on).

 

If you are launching the session in some other way (perhaps you are using Enterprise Guide or SAS/Studio) then the individual user does not have much control.  Is that why you posted the question under Admin and Deploy?

Ksharp
Super User

You need change your SASV9.CFG file ,add this line in it:
-WORK "d:\temp"

 

Ksharp_0-1674198000323.png

 

 

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
  • 4 replies
  • 1332 views
  • 3 likes
  • 5 in conversation