Setting up the UNIX environment for Server Express

Once you have completed the installation of Server Express, what variables must be set in the UNIX environment?

In the examples below "PATH" refers to the normal UNIX path, the COBDIR is concatenated in front to ensure the current COBOL programs are picked up first. COBDIR points to the directory where the Server Express product was installed.

The requirements for setting the required environment parameters is documented in the CD insert in the Post-Installation section:

When you have installed the product:
Ensure that the environment is set correctly to point to the product and, where appropriate, set other environment variables as follows.

On IBM® RS/6000® and Power PC systems™ running AIX®:
COBDIR=/usr/lpp/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH:/usr/ccs/bin
export PATH
LIBPATH=/usr/lib:$COBDIR/lib:$LIBPATH
export LIBPATH
On HP® 9000 Series running HP-UX®:
COBDIR=/opt/lib/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH:/usr/ccs/bin
export PATH
SHLIB_PATH=$COBDIR/lib:$SHLIB_PATH
export SHLIB_PATH
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
On all other systems:
COBDIR=/opt/lib/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH:/usr/ccs/bin
export PATH
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
where drivers is the location where you installed the driver programs.

Note: The default installation directories have changed for Server Express v4.0 SP1 – With this release, /opt/microfocus/cobol will be used for all platforms.

Note: The environment variables listed only cover use of the base product. For working with SQL Option, OpenESQL, or with 3rd party products, additional environment variables may be required.

Reference Knowledge Base Document #18615