Desktop productivity for business analysts and programmers

config

Accepted Solution Solved
Reply
Contributor
Posts: 29
Accepted Solution

config

Where is the configuration file to change the work directory for enterprise guide? i have changed the foundation/.../nls/en folder but this only applies to base SAS not SAS\EG.


Accepted Solutions
Solution
‎09-11-2014 01:58 PM
Community Manager
Posts: 2,707

Re: config

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 solution in original post


All Replies
Esteemed Advisor
Posts: 5,202

Re: config

If you mean the (SAS)work libraray, it is the same, EG does not have an own work, it uses SAS Foundation as a compute server, which could be local or remote.

Data never sleeps
Grand Advisor
Posts: 9,596

Re: config

Try this .But you need have appropriate right to fold  'c:\temp' .

libname x v9  'c:\temp';
options user=x ;


data class;
 set sashelp.class;
run;

Xia Keshan

Solution
‎09-11-2014 01:58 PM
Community Manager
Posts: 2,707

Re: config

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

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 782 views
  • 0 likes
  • 4 in conversation