BookmarkSubscribeRSS Feed

Using SAS Enterprise Guide with different SAS environments

Started a month ago by
Modified a month ago by
Views 418

"DEV/TEST/PROD": If that term means something to you, then you are probably among our many customers that use SAS software across different environments. You might have one SAS environment for playing around ("dev" for "development"), another for testing candidate changes ("test"), and yet another for production processes ("prod").

 

SAS Enterprise Guide "Connections" windowSAS Enterprise Guide "Connections" window

 

Or, you might work with different environments that are segregated across business units: one for Finance, for example, and another for Human Resources. You can also create different profiles for a single environment, but with different user accounts -- for example, one account with admin privileges, and another as a "mere mortal" end user.

 

Wouldn't it be convenient to have different shortcuts on your desktop so that you can launch SAS Enterprise Guide and point directly to the environment that you want to use? We thought so, and so we added some command-line options to make this easy to do. (These were added way back in version 4.2 and they still work the same way today!)

 

Two shorcuts for two environmentsTwo shorcuts for two environments

 

The command-line option is /profile:"ProfileName", where "ProfileName" is the friendly name you used to label your SAS profile definition. (The quotes are optional unless the profile name contains spaces or special characters, in which case the quotes are necessary.) Here is an example command that you can use in a desktop shortcut to connect to the "prod" environment:

 

"C:\Program Files\SAS\EnterpriseGuide\8\seguide.exe" /profile:prod

 

Here is a variation with a space in the profile name ("My Server"):

 

"C:\Program Files\SAS\EnterpriseGuide\8\seguide.exe" /profile:"My Server"

 

And finally, if you want to run with no profile: that is, without connecting to a SAS metadata server at all (using just your local SAS installation), you can run:

 

"C:\Program Files\SAS\EnterpriseGuide\8\seguide.exe" /noprofile

 

Regardless of which profile you launch with, SAS Enterprise Guide will always show any additional "ad hoc" servers that you've defined, including connections to SAS Viya or to other SAS Workspace servers outside of SAS metadata connections.

Version history
Last update:
a month ago
Updated by:
Contributors

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Labels
Article Tags