Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Migrating AppServer and WebSpeed Applications : ABL application code migration : Environment settings in PAS for OpenEdge
 

Environment settings in PAS for OpenEdge

Environment variables for the classic AppServer are set in the $DLC/properties/ubroker.properties file in a section similar to the following:
[Environment.asbroker1]
TESTENV=MYEN
In PAS for OpenEdge, you do not set environment variables in configuration files like ubroker.properties on the class AppServer. Instead, you set environment variables using these methods:
*At the application level — Define a myenv_setenv.{sh|bat} script and place it in the PAS for OpenEdge instance's bin directory.
*For individual settings — Add a proset.env file to your instance's $WRKDIR. In the proset.env file, set any environment variables your application needs.
Note: On the UNIX platforms your myenv_setenv.sh script need not be marked executable. You must EXPORT any environment variables defined in that script so other processes can use them.