Hello Community, I like to understand how SAS working directories works and also how to delete orphaned (I think) folders. I have SAS installed on a windows servers. From EG when I run this code proc options option=work; run; result is: SAS (r) Proprietary Software Release 9.4 TS1M4 WORK=W:\SAS\SASWork\_TD7652_SASVASERVER_\Prc2 When I run this code data _null_; rc=dlgcdir(); put rc=; run; result is: NOTE: The current working directory is "D:\SAS\SASConfig\VA\Lev1\SASAppVA". Question: Both W: and 😧 are locations on my VA server. When I run a code on EG, for example, I see a folder is getting created on the VA server in W:\SAS\SASWork\ _TD7652_SASVASERVER_. The above D:\SAS\...\SASAppVA is location of SAS.Bat and other programs. I am assuming D:\ is where SAS program (sas.exe) starts SAS and execute the EG code and result of the session is a creation of a folder in “Working” directory W:\SAS\SASWork\! Am I correct or totally off course? Now, it looks like I have some orphaned sub folders in W:\SAS\SASWork\ folder Q1- How do you know which folder is an Orphaned and which one is not? Q2- How can I clean these folders, for example is it a good practice to delete any sub folders older than two days? On a blog I found something about Cleanwork utility for Windows 64-bit is it something that normally administrators use? Thank you again for your assistants
... View more