If you are using UNIX, before you can start a multi-user session, you must first configure UNIX environment variables in the .profile file. You edit the .profile file using a text editor.

There are four mandatory environment variables and one optional variable.

The mandatory environment variables are:

Mandatory variable

Description

DLC

The pathname of the directory in which OpenEdge RDBMS is installed.

PATH

The list of directories the UNIX kernel searches for executable files.

Use colons (:) to separate directory names.

TERM

The type of terminal. This must be set to run OpenEdge character-mode (TTY) client sessions (including batch mode).

When you specify a terminal type, OpenEdge searches for that type in the PROTERMCAP file (see below) and uses the specified definitions.

PROPATH

The list of directories that contain OpenEdge ABL application code.

At runtime, OpenEdge searches for application code in PROPATH in the order listed.

The optional variable is:

Optional variable

Description

PROTERMCAP

The full pathname of the terminal definition file that you want your OpenEdge session to use. The default terminal definition file is called PROTERMCAP and is installed in the OpenEdge installation directory.

You only have to set PROTERMCAP if you want to use a different terminal definition file.

Note: You can also set the environment variables in the .login script in UNIX or in the script used to start OpenEdge.
Here is an example of a .profile file:
. . .
DLC=/usr/dlc; export DLC
PATH=$DLC:$DLC/bin:$PATH; export PATH
TERM=vt220; export TERM
PROPATH=.:$DLC:/usr/apps; export PROPATH
#
PROTERMCAP=$DLC/protermcap; export PROTERMCAP
. . .