Feedback
Did this article resolve your question/issue?

   

Article

What is the purpose of the proenv utility?

« Go Back

Information

 
TitleWhat is the purpose of the proenv utility?
URL NameP112724
Article Number000127871
EnvironmentProduct: Progress
Product: OpenEdge
Version: All supported versions
OS: All supported platforms
Question/Problem Description
What is the purpose of the proenv utility?
How to run the proenv utility?
What is proenv?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The Progress / OpenEdge installation directory and other variables relevant to OpenEdge command / program execution are not set at the System-level.

The purpose of the proenv (Progress Environment) utility is to set the Progress / OpenEdge environment variables for a session.

These 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.

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

On MS-Windows:
 
SET DLC=DLC PATH
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.

On UNIX:
SET Environment Variables
 
DLC=DLC PATH
PATH=$DLC/bin:$PATH
export DLC PATH


A command window will be opened that shows:
  1. Current OpenEdge Installation directory
  2. A comment about "Insertion of %DLC%/bin to the beginning of the PATH" will be displayed, along with the current directory
  3. The Product version (including servicepack + hotfix details).

This command line has a prompt "proenv>"
Workaround
Notes
Reference to Written Documentation:

Progress Installation and Configuration Guide Version 9 for UNIX

OpenEdge Getting Started: Installation and Configuration
Last Modified Date2/26/2016 8:46 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.