Before installing your products, log in as MANAGER.SYS and check to see if the ACUCOBOL account exists:
:HELLO MANAGER.SYS :LISTACCT ACUCOBOL
If the ACUCOBOL account already exists, use the following command to make sure the ACUCOBOL-GT User Defined Command (ACUUDC) file is not cataloged:
:SHOWCATALOG
The ACUUDC file sets the environment variables needed to run ACUCOBOL-GT. If ACUUDC.PUB.ACUCOBOL is cataloged, it must be removed (uncataloged) or renamed and all users and jobs that have ACUUDC cataloged must log out before installation is performed. Otherwise, you will get an error saying the file is already in use. If ACUUDC was cataloged at the account level, you can remove it by typing:
:SETCATALOG ACUUDC.PUB.ACUCOBOL;ACCOUNT;DELETE
Another method (that does not require all users and jobs that have ACUUDC cataloged to log out) is to overwrite the version of ACUUDC that is currently cataloged with the following command:
:MV.HPBIN.SYS "-f /ACUCOBOL/PUB/ACUUDC /ACUCOBOL/PUB/ACUUDC.inuse"
The MV.HPBIN.SYS command allows you to move a file even though it is in use. The "-f" option does the move without asking for confirmation. This renames the ACUUDC currently in use so that the RESTORE can create and catalog a new file with the same name.
If you get a message saying that the ACUCOBOL account is a "Non-existent account" when performing the LISTACCT command, create the account with the following commands:
:NEWACCT ACUCOBOL,MGR :ALTACCT ACUCOBOL;CAP=+PH;ACCESS=(R,X:ANY;W,A,L:AC) :ALTUSER MGR.ACUCOBOL;CAP=+PH :ALTGROUP PUB.ACUCOBOL;CAP=+PH
The "CAP=+PH" capability must be included because some ACUCOBOL-GT programs require the Process Handling (PH) capability. If a program resides in the HFS system, the user executing it must have PH capability. If a program resides in the MPE/iX group and has an MPE/iX name, the user does not have to have PH capability, but the MPE/iX group does. For example:
/ACUCOBOL/bin/ccbl
requires the user to have PH capability, but:
CCBL.PUB.ACUCOBOL
does not, as long as the PUB.ACUCOBOL group has the PH capability added to it. If you don't want the user to have to have PH capability, move the programs you want to run from the /ACUCOBOL/bin directory to a valid MPE/iX group and change the name to uppercase. For example:
:COPY /ACUCOBOL/bin/ccbl CCBL.PUB.ACUCOBOL
If your products are on a DAT tape in MPE/iX STORE format, see Installing Products Within the MPE/iX Shell to install them within the MPE/iX shell.
If your products are on a DAT tape in POSIX TAR format, see Installing Products Within the POSIX Shell to install them within the POSIX shell.
If your products are delivered on a CD-ROM, mount the CD-ROM, FTP the archived file to your HP e3000 machine, and see the appropriate help topic for the file format.