The WORK library is set by the SAS Configuration, which for remote servers is defined in a sasv9.cfg file somewhere in the Config folders or where the application is installed. On window the default setting looks like this:
-WORK "!TEMP\SAS Temporary Files"
That !TEMP variable is a Windows environment variable, and is expanded at runtime and resolves to something like:
WORK=C:\Users\sassrv\AppData\Local\Temp\SAS Temporary Files\_TD8620_L77841_\Prc2
If you're looking to control where EG uses its own "scratch" space (different than the WORK library) on the local PC, you can change that by modifying the SEGuide.exe.config file (located in the application install folder) to override the TEMP environment variable. It would look like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services3"
type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<section name="Environment"
type="SAS.EG.Configuration.EnvironmentSection, SAS.EG.Utilities"/>
</configSections>
<microsoft.web.services3>
<policy fileName="wse3policyCache.config" />
</microsoft.web.services3>
<!-- Example Environment Section, which sets the environment variables EGTMP, TEMP and TMP -->
<Environment>
<Variables>
<add name="TEMP" value="c:\MyTEMPArea\temp" />
</Variables>
</Environment>
</configuration>
This temp space is used by EG to hold project elements/files as you work in your EG session, cache server files, and more. The folder *should* be cleaned up automatically when you close your EG session.
Chris
... View more