Previous Topic Next topic Print topic


Installing as an Upgrade

This release works concurrently with the previous version of COBOL Server, so you do not need to uninstall it. There are two options for installing the latest version in this case:

  • Move the existing installation to a different location and install the latest version to the default install location specified by the COBDIR environment variable ( /opt/microfocus/VisualCOBOL, by default).

    This ensures you do not need to change your environment. To move the existing older installation to a different location:

    1. Execute the following command as root:
      mv /opt/microfocus/VisualCOBOL /opt/microfocus/VisualCOBOLversion
    2. Install the latest version as described in the section Installing.
  • Install the latest version in a different location and set the environment to point to it. To do this, run the COBOL Server installer with the –installlocation option:
    1. Execute the following command:
      . /InstallFile -installlocation="/opt/microfocus/VisualCOBOL"
      Note: You can use variables or the tilde syntax for the path for –installlocation. For example, the following examples are equivalent:
      -installlocation="/home/myid/installdir"
      -installlocation="~myid/installdir"
      -installlocation="~/installdir"
      -installlocation="$HOME/installdir"
    2. Execute cobsetenv to set the environment and point to the new install location:
      . /opt/microfocus/VisualCOBOL/cobsetenv

      Note that cobsetenv is only compatible with POSIX-like shells, such as bash, ksh, or XPG4 sh. It is not compatible with C-shell or pre-XPG4 Bourne shell.

Previous Topic Next topic Print topic