Set system variables for the Cobol compiler

  1. Set $COBDIR to the location where the Cobol compiler is installed.
  2. Ensure that $COBDIR/bin is defined in your system PATH.
  3. Ensure that $COBDIR/lib is in your shared library path.
  4. Add the following variable definitions to the environment variable management script.
    $COBDIR
    $COBLIB=$COBDIR/lib
    PATH=$COBDIR:$PATH