The Progress / OpenEdge installation directory and other variables relevant to OpenEdge command / program execution are not set at the System-level by default.
The purpose of the proenv (Progress Environment) utility script is to set the Progress / OpenEdge environment variables for a session.
This is a simple bat file on windows and sh file on Unix/Linux.
The variables include the location of Progress / OpenEdge installation (%DLC% / $DLC directory), the WORK directory, WRK Directory of OE Management. and adds the bin directory to the PATH.
In addition, the current working directory is changed to the default "WORK" directory identified during the installation.
This makes it easier to run Progress / OpenEdge commands from the
proenv prompt for the session, from any directory during this session.
The proenv script makes it easier to run commands without specifying the absolute path to executables.
A user can still bypass proenv by either setting the variables manually or specifying the absolute path for executables.
Start the proenv utility by executing proenv script located in the Progress Install Directory/bin:
1. Start PROENV.
This starts a command prompt session that sets the Progress environment by default. If using the standard command prompt, then the following variables should be defined
Example from proenv.bat on MS-Windows:
SET DLC=c:\dlc
SET PATH=%DLC%\BIN;%PATH%
NOTE: The icon Proenv can be used to start a command prompt session that sets the Progress environment by default.
Example from proenv script on UNIX:
DLC="/usr/dlc"
PATH=$DLC/bin:$PATH
export DLC PATH
A command window will be opened that shows:
- Current OpenEdge Installation directory
- A comment about "Insertion of %DLC%/bin to the beginning of the PATH" will be displayed, along with the current directory
- The Product version (including servicepack + hotfix details).
This command line has a prompt "
proenv>"