[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
Chapter 3
|
$ SET COMMAND /TABLE=SYS$LIBRARY:DCLTABLES |
The following tasks can be performed after HP COBOL is installed:
The Installation Verification Procedure (IVP) runs automatically during installation of the COBOL compiler. It requires the installation of the COBOL compiler on your system. If you want to run the IVP separately to ensure the integrity of installed files should system problems occur, in a privileged account use the following command procedure:
$ @SYS$COMMON:[SYSTEST]COBOL$IVP.COM |
The PCSI installation automatically copies the HP COBOL message file, COBOL$MSG.MSG, into the system directory [SYSUPD]. You can edit COBOL$MSG.MSG to customize the error messages that users receive when using HP COBOL. Customized messages are often desirable for international users.
You must install HP COBOL before editing the message file. If you install HP COBOL after editing COBOL$MSG.MSG, the software installation will supersede the revised message file in the [SYSMSG] directory. Also, you must have the OpenVMS Message utility installed on your system before editing COBOL$MSG.MSG. The edited version of COBOL$MSG.MSG must be processed through the Message utility before the file can be accessed by HP COBOL.
The following steps explain how to edit the HP COBOL messages and install the customized message file on your system:
$ MESSAGE COBOL$MSG |
$ LINK/SHARE COBOL$MSG |
$ COPY COBOL$MSG.EXE SYS$COMMON:[SYSMSG]/PROT=W:RE |
$ INSTALL REPLACE SYS$MESSAGE:COBOL$MSG |
HP COBOL will now generate your customized error messages.
3.3 Making HP COBOL Usable on an OpenVMS Cluster System
If you want to run HP COBOL on multiple nodes of a VMScluster, first check to see that you have the appropriate software license (see Section 1.2). Then, perform the following steps after you install HP COBOL:
If you are using a mixed-architecture (VAX and Alpha) heterogeneous cluster, before executing these commands, make sure the appropriate logical names have been set to define the scope of the SYSMAN DO commands. For more information, see the OpenVMS system management documentation. |
$ RUN SYS$SYSTEM:SYSMAN SYSMAN> SET ENVIRONMENT/CLUSTER %SYSMAN-I-ENV, current command environment: Clusterwide on local cluster Username SYSTEM will be used on nonlocal nodes SYSMAN> DO INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE %SYSMAN-I-OUTPUT, command execution on node NODE1 %SYSMAN-I-OUTPUT, command execution on node NODE2 |
SYSMAN> DO INSTALL REPLACE SYS$SYSTEM:COBOL.EXE %SYSMAN-I-OUTPUT, command execution on node NODE1 %SYSMAN-I-OUTPUT, command execution on node NODE2 |
SYSMAN> DO INSTALL REPLACE SYS$MESSAGE:COBOL$MSG.EXE %SYSMAN-I-OUTPUT, command execution on node NODE1 %SYSMAN-I-OUTPUT, command execution on node NODE2 |
SYSMAN> EXIT $ |
To use HP COBOL, each user account must have at least TMPMBX and
NETMBX privileges. Use the OpenVMS Authorize utility to determine
whether users have the privileges they require.
3.5 Installing HP COBOL as a Shared Image
If you expect HP COBOL to be used extensively on your system, you can reduce the system overhead and memory requirements by installing it as a shared image. To install HP COBOL as a shared image on a system that is currently running, use the OpenVMS Install utility (INSTALL). It is recommended that you install HP COBOL as shared on a system that has been rebooted recently, because the available space in the global page table is less likely to be fragmented. Invoke the OpenVMS Install utility from a privileged account and install HP COBOL as a shared image:
$ INSTALL ADD SYS$SYSTEM:COBOL.EXE /OPEN/SHARED/HEADER_RESIDENT |
Add the following line to the appropriate system startup command file so that HP COBOL is available as a shared image each time the system is started:
$ INSTALL ADD SYS$SYSTEM:COBOL.EXE/OPEN/SHARED/HEADER_RESIDENT |
The default operating system startup command file, for example, is SYS$MANAGER:SYSTARTUP_VMS.COM (previously named SYSTARTUP_V5.COM). If your site has modularized the system startup procedure using multiple command files, add the lines to the correct file.
To install the message file, use the following commands:
$ INSTALL ADD SYS$MESSAGE:COBOL$MSG.EXE |
The PCSI installation automatically includes installation of REFORMAT.EXE, the REFORMAT utility. It is ready to run.
This appendix contains sample logs of the following operations, which are identifical on OpenVMS Alpha and OpenVMS I64:
The installation is identical on both OpenVMS Alpha and OpenVMS I64. However, you will see the platform specified in the product name and a four-digit string after the version. The following example shows an installation of V2.9 on an OpenVMS I64 system.
$ PRODUCT INSTALL COBOL The following product has been selected: HP I64VMS COBOL V2.9-xxxx Layered Product Do you want to continue? [YES] Configuration phase starting ... You will be asked to choose options, if any, for each selected product and for any products that may be installed to satisfy software dependency requirements. HP I64VMS COBOL V2.9-xxxx: HP COBOL for OpenVMS I64 Systems Copyright 2007 Hewlett-Packard Development Company, L.P. This software is the product of Hewlett-Packard Development Company, L.P. A valid Product Authorization Key (PAK) is required. Do you want the defaults for all options? [YES] Do you want to review the options? [NO] Execution phase starting ... The following product will be installed to destination: HP I64VMS COBOL V2.9-xxxx DISK$I64SYS:[VMS$COMMON.] Portion done: 0%...90%...100% The following product has been installed: HP I64VMS COBOL V2.9-xxxx Layered Product %PCSI-I-IVPEXECUTE, executing test procedure for HP I64VMS COBOL V2.9-xxxx ... %PCSI-I-IVPSUCCESS, test procedure completed successfully |
$ @SYS$TEST:COBOL$IVP.COM Copyright 2007 Hewlett-Packard Company, L.P. Confidential computer software. Valid license from HP and/or its subsidiaries required for possession, use or copying. Successful test of HP COBOL V2.9-xxxx $ |
The removal command operates the same on both OpenVMS Alpha and OpenVMS I64. This example shows the OpenVMS I64 product.
$ PRODUCT REMOVE COBOL The following product has been selected: HP I64VMS COBOL V2.9-xxxx Layered Product Do you want to continue? [YES] The following product will be removed from destination: HP I64VMS COBOL V2.9-xxxx DISK$I64SYS:[VMS$COMMON.] Portion done: 0%...10%...20%...30%...40%...50%...60%...70%...100% The following product has been removed: HP I64VMS COBOL V2.9-xxxx Layered Product |
This appendix provides information to help you with failures or errors
that might occur during product installation or product use.
B.1 Failures During HP COBOL Installations
If PCSI detects any problems during installation, it notifies you and asks if you want to continue the installation.
The following PCSI messages are issued if the PCSI product kit is not found in the specified directory:
$ PRODUCT INSTALL /SOURCE=device:[directory] %PCSIUI-I-NOMATCH, no products found matching: COBOL %PCSIUI-E-NOPROD, no products found on which to perform this operation %PCSIUI-E-ABORT, fatal error encountered - operation terminated |
The following PCSI and RMS messages are issued if the PCSI product kit is not found in the specified directory and you have defined the logical name PCSI$SOURCE:
$ PRODUCT INSTALL /SOURCE=device:[directory] %PCSI-E-OPENIN, error opening PCSI$SOURCE:[SYSUPD]*-*-*-%%%%%-*-*.PCSI*; as input -RMS-F-DEV, error in device name or inappropriate device type for operation %PCSI-E-S_OPFAIL, operation failed %PCSIUI-E-ABORT, fatal error encountered - operation terminated |
The following PCSI messages are issued when the installation and the IVP test procedure execute properly:
$ PRODUCT INSTALL /SOURCE=device:[directory] . . . The following product has been installed: DEC AXPVMS COBOL V2.9-xxxx . . . %PCSI-I-EXETSTOK, end of test procedure; completed with no errors |
The following PCSI messages are issued when the COBOL installation fails only because the IVP test procedure fails.
This failure is in the IVP test procedure. After reporting the failure it asks you if you wish to terminate the installation. If you answer YES at this advanced stage (100%), the installation terminates quietly. The product has bee n installed on the system. |
$ PRODUCT INSTALL /SOURCE=device:[directory] |
The PRODUCT INSTALL fails, with the following messages:
Portion Done: 10%...30%...40%...70%...80%...90%...100% %PCSI-I-PRCOUTPUT, output from subprocess follows... %LICENSE-F-NOAUTH, DEC COBOL use is not authorized on this node -LICENSE-F-NOLICENSE, no license is active for this software product -LICENSE-I-SYSMGR, please see your system manager %SYSTEM-F-ABORT, abort |
The IVP test procedure fails, with the following messages:
%PCSI-E-EXETSTFAIL, end of test procedure; completed with errors; status returned from DCL follows -SYSTEM-F-ABORT, abort %PCSI-E-OPFAILED, operation failed Terminating is strongly recommended. Do you want to terminate? [YES] y |
This section describes problems that might occur when you use
HP COBOL.
B.2.1 Other Problems
If you encounter a problem while using HP COBOL, see the section on Troubleshooting Tips in the Release Notes. If the problem is unresolved, report it to Hewlett-Packard. If you have a Software Product Services Support Agreement, contact HP Services by the method specified in your support agreement.
When you initially contact HP Services, please indicate the following:
When you submit information electronically or are speaking on the phone to the appropriate HP COBOL support specialist, you can provide more detailed information. The information should include the specific commands used to compile and link the program, the error messages displayed, and relevant detailed information (possibly including source program listings). Please attempt to narrow the cause of the problem to a specific module or lines of code.
HP Services personnel may ask for additional information, such as listings of any command files, INCLUDE and COPY files, relevant data files, and so forth. If the program is longer than 50 lines, submit a copy of it electronically or provide machine-readable media (CD-ROM or magnetic tape).
Previous | Contents | Contents |