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/ file in a section similar to the following:
In PAS for OpenEdge, you do not set environment variables in configuration files like 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 script need not be marked executable. You must EXPORT any environment variables defined in that script so other processes can use them.