Consultor Eletrônico



Kbase 16576: How to set UNIX Environment Variables for Progress
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

GOAL:

How to set UNIX Environment Variables for Progress

FACT(s) (Environment):

Unix

FIX:

The environment variables and their syntax below is based on the
bourne and korn shells. These variables, once customized for your
installation directory path, can be added to your .profile or any
other UNIX script being used to invoke Progress.


Steps for setting environment variables:

1. Determine the shell you are running. This is done by typing
echo $SHELL or if you are running the csh try set. Once you
have the output it will indicate either sh (Bourne shell), ksh
(Korn Shell), csh (C Shell) or tcsh (improved C Shell). Based
on this information you can the determine which syntax to use
when setting the environment variable.

2. To set environment variables, you can either do it on the command
line within UNIX or in your .profile (for sh and ksh) or .login
(for csh) or you can add them to your start up script for
Progress.

3. To set a variable within UNIX, you need to use the appropriate
syntax based on the shell you are using. Syntax examples are:

Shell: Syntax:

/bin/sh or VARIABLE=<value>;export VARIABLE
/bin/ksh
/bin/csh setenv VARIABLE <value>

4. The following is a listing of the environment variables used by
Progress Version 7.

* Note: variables are shown in sh/ksh syntax.

PROPATH is shown for Version 7 installation or later of Progress.
If you are running Version 6 of Progress your PROPATH would look like
this: PROPATH=$DLC:$DLC/probin:$DLCRES;export PROPATH


DLC=<where DLC is installed on your machine>;export DLC
DLCRES=<where results is installed on your machine;export DLCRES
PROPATH=$DLC:$DLC/bin:$DLCRES:$DLC/probuild/eucapp;export PROPATH
PATH=$PROPATH:$PATH;export PATH
PROCFG=$DLC/progress.cfg;export PROCFG
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
PROMSGS=$DLC/promsgs;export PROMSGS

If you do not have Results product installed, then there is no need
to set DLCRES environment variable and its references can also be
removed from your PROPATH environment variable.