This error occurs when trying to run a compiled program
Problem:
When trying to run a compiled program, we are receiving this error:
187 Run-time system not found on $COBDIR path (Fatal)
Resolution:
This error occurs because the environment is not set up properly. When installing the product, ensure that the environment is set correctly to point to the product and its drivers and, where appropriate, set other environment variables as follows:
On IBM® RS/6000® and Power PC systems running AIX®:
COBDIR=/opt/microfocus/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH
export PATH
LIBPATH=/usr/lib:$COBDIR/lib:$LIBPATH
export LIBPATH
On HP® 9000 Series running HP-UX®:
COBDIR=/opt/microfocus/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH
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/microfocus/cobol
export COBDIR
PATH=$COBDIR/bin:$PATH
export PATH
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH