Setting the Environment
After you install
Studio Enterprise Edition for UNIX, you are need to set the following environment variables:
- COBDIR. Specifies the directory that contains
Studio Enterprise Edition for UNIX
- PATH. Specifies the directories to be searched by all UNIX and Linux programs, including the run-time system, when finding executables to be run. To set it:
PATH=$INSTDIR/bin:\$PATH
- LD_LIBRARY_PATH, LIBPATH or SHLIB_PATH, depending on your system. Specifies the directory or directories for the UNIX or Linux system, cob and the run-time system to search for shared libraries and callable shared objects. To set these:
On Red Hat Linux and Solaris:
LD_LIBRARY_PATH=$INSTDIR/lib
On AIX:
LIBPATH=$INSTDIR/lib
On HP-UX:
SHLIBPATH=$INSTDIR/lib
- MFPLI_PRODUCT_DIR. Specifies the location of the Open PL/I installation. This location is determined by the system administrator and is
/opt/microfocus/cobol by default. To set it:
MFPLI_PRODUCT_DIR=$INSTDIR
Depending on your environment, you may need to add these to you .profile, .bashrc, .cshrc or .login file in your home directory.