Salesforce

What is the purpose of the proenv utility script?

« Go Back

Information

 
TitleWhat is the purpose of the proenv utility script?
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 script?
How to run the proenv utility script?
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 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:
  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
Keyword Phrase
Last Modified Date7/26/2023 7:08 PM

Powered by