BookmarkSubscribeRSS Feed
MariaD
Barite | Level 11

Hi Folks,

 

We have two environments, ones for production and ones for development. Is there any way to add these 2 URLS inside SASENVIRONMENTSURL properties on sassy.config? I tried to add the URLs separated by "," but it's not working.

 

Regards,

1 REPLY 1
ledfoot
SAS Employee

I'm not 100% sure what your goal is but I'll offer this.

We have 2 different Windows machines with EM running. On the development machine I found C:\SAS\Config\Lev1\Web\WebServer\htdocs\sas\sas-environment.xml.


I made a backup copy of the file before modified it.


I copied the default <environment> section and pasted it below the original.
I changed the first <environment> to name="Dev" and <desc> to Development SAS Environment.

In the new/copied <environment> I changed name="Prod", <desc> to Production SAS Environment and pointed the <service-registry> to our production machine.

When I logged in to EM on my development machine it gave me a choice of environments.

 

In the following environments.xml I redacted MACHINENAME1 and MACHINENAME2:

 

<?xml version="1.0" encoding="UTF-8"?>
<environments xmlns="http://www.sas.com/xml/schema/sas-environments-9.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.sas.com/xml/schema/sas-environments-9.4
http://www.sas.com/xml/schema/sas-environments-9.4/sas-environments-9.4.xsd"
version="2.0">
<environment name="DEV" default="true" platform-version="9.4">
<desc>Development SAS Environment</desc>
<service-registry>
http://MACHINENAME1:80/SASWIPClientAccess/remote/ServiceRegistry
</service-registry>
<service-registry interface-type="soap">
http://MACHINENAME1:80/SASWIPSoapServices/services/ServiceRegistry
</service-registry>
<service-registry interface-type="rest">http://MACHINENAME1:80/SASWIPClientAccess/rest/</service-registry>
</environment>
<environment name="PROD" default="false" platform-version="9.4">
<desc>Production SAS Environment</desc>
<service-registry>
http://MACHINENAME2:80/SASWIPClientAccess/remote/ServiceRegistry
</service-registry>
<service-registry interface-type="soap">
http://MACHINENAME2:80/SASWIPSoapServices/services/ServiceRegistry
</service-registry>
<service-registry interface-type="rest">http:MACHINENAME2:80/SASWIPClientAccess/rest/</service-registry>
</environment>
</environments>

 

I hope this helps.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1133 views
  • 1 like
  • 2 in conversation