Compaq COBOL for OpenVMS Alpha Systems

Compaq COBOL
for OpenVMS Alpha Systems

Installation Guide

Order Number: AA--PXE7K--TE


November 2002

This guide describes how to install Compaq COBOL on an Alpha system running the OpenVMS Alpha operating system.

This guide applies to Compaq COBOL Version 2.8 and any maintenance updates for that version.

Revision/Update Information: This manual supersedes the Version 2.7 Compaq COBOL for OpenVMS Alpha Systems Installation Guide.

Operating System & Version: OpenVMS Alpha Version 6.2 or higher. Future releases may require higher versions.

Software Version: Compaq COBOL for OpenVMS Alpha Version 2.8



Compaq Computer Corporation Houston, Texas


© 2002 Compaq Information Technologies Group, L.P.

COMPAQ, the Compaq logo, OpenVMS, POLYCENTER, Tru64, VAX, and VMS are trademarks of Compaq Information Technologies Group, L.P. in the U.S. and/or other countries.

All other product names mentioned herein may be trademarks of their respective companies.

Confidential computer software. Valid license from Compaq required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.

None of Compaq, Hewlett-Packard Company ("HP") or any other direct or indirect subsidiary of HP shall be liable for technical or editorial errors or omissions contained herein. The information in this document is provided "as is" without warranty of any kind and is subject to change without notice. The warranties for Compaq or HP products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty.

ZK6295

Contents


Preface

This guide describes how to install Compaq COBOL on Alpha processors that are running the OpenVMS Alpha operating system.

Keep this document with your distribution kit. You will need it to install maintenance updates or to reinstall Compaq COBOL for any other reason.

Associated Documentation

In addition to this guide, the Compaq COBOL documentation set includes the following:

You may also find the following documentation useful:

Conventions

The following conventions are used in this guide:
Convention Meaning
[YES]
[NO]
Default answers to system questions are framed in square brackets. Simply press [Enter] to accept the default response.
UPPERCASE In text, uppercase letters indicate the name of a command, a file, a parameter, a procedure, or a Compaq COBOL utility.
$ SET DEFAULT SYS$UPDATE In interactive examples, prompts or displayed text appear in a monospace font. User input appears in bold monospace. Lowercase indicates a name that you supply. Uppercase is to be typed as shown.
$ The dollar sign is used to indicate the DCL prompt. This prompt may be different on your system.
[Ctrl/x] In procedures, a sequence such as [Ctrl/x] indicates that you must hold down the key labeled Ctrl while you press another key or a pointing device button.
n The minor (point) release of Compaq COBOL in examples is shown by n, as in COBOL02 n. For Version 2.8, you type COBOL028.

References

DIGITAL COBOL has been renamed Compaq COBOL.

In this manual, every use of OpenVMS Alpha and OpenVMS AXP means the OpenVMS Alpha operating system and every use of Tru64 UNIX means the Tru64 UNIX for Alpha operating system. Tru64 UNIX was formerly called DIGITAL UNIX or DEC OSF/1.

In this manual, every use of Oracle CDD/Repository means the Oracle CDD/Repository product of Oracle Corporation, every use of Oracle DBMS means the Oracle CODASYL DBMS product of Oracle Corporation, and every use of Oracle Rdb means the Oracle Rdb product of Oracle Corporation.

How to Order Additional Documentation

Visit the following World Wide Web address for information about how to order additional documentation:


http://www.openvms.compaq.com/doc/ 

Reader's Comments

Compaq welcomes your comments on this manual. Please send comments to either of the following addresses:
Internet openvmsdoc@hp.com
Mail Compaq Computer Corporation
OSSG Documentation Group, ZKO3-4/U08
110 Spit Brook Rd.
Nashua, NH 03062-2698

Field Test Sites

The Compaq COBOL team would like to acknowledge the contributions of our field test sites in improving our products. The people at these sites provided us with invaluable information, which ultimately resulted in a higher quality, more useful COBOL product.


Chapter 1
Preparing for Compaq COBOL Installation

Your bill of materials (BOM) and indented bills report (BIL) specify the number and contents of your media. Be sure to verify the contents of your kit with this information. If your kit is damaged or if you find that parts of it are missing, contact your Compaq representative.

Your distribution kit includes a letter titled Read Before Installing or Using Compaq COBOL Version 2.8 for OpenVMS Alpha Systems. The letter discusses important information that might not be included in this guide. You should read this letter before beginning the installation.

1.1 Reading the Online Release Notes

Compaq COBOL provides online Release Notes. Compaq strongly recommends that you read the Release Notes before installing the product. The Release Notes may contain information about changes to the application.

For information about accessing these Release Notes before installing Compaq COBOL, see Chapter 2, step 4.

The installed Release Notes for Compaq COBOL will be in the following file:


SYS$HELP:COBOL028.RELEASE_NOTES 

1.2 Registering Your Software License

Before you install and run Compaq COBOL Version 2.8 on a newly licensed node or cluster, you must first register a License Product Authorization Key (License PAK) using the License Management Facility (LMF). The License PAK may be shipped along with the kit if you ordered the license and media together; otherwise, it is shipped separately to a location based on your license order.

If you are installing Compaq COBOL as an update on a node or cluster already licensed for this software, you have already completed the License PAK registration requirements.

If you are installing prerequisite or optional software along with Compaq COBOL, review the PAK status and install the PAKs for any prerequisite or optional software before you install Compaq COBOL.

If you are planning to use the Oracle DBMS programming capability, you must purchase the Compaq COBOL Oracle DBMS programming license option, which includes a license PAK for use of this option. See the Compaq COBOL Software Product Description (SPD) for more information on the Oracle DBMS programming license option.

You must register and load your license for Compaq COBOL before you start the installation in order to run the Installation Verification Procedure (IVP) and to use the software.

To register a license on OpenVMS, first log in to your SYSTEM account. You then have a choice of two ways to perform the registration:

If you plan to use Compaq COBOL on more than one node in a VMScluster, you will need to perform a license load on the other nodes after you complete this installation. See Section 3.3.

For complete information on using LMF, see the OpenVMS License Management Utility Manual.

1.3 Optional Software

You can use the following optional software together with Compaq COBOL:

1.4 Checks and Requirements for Installing Compaq COBOL

If you are installing Oracle Rdb or Oracle CDD/Repository, you should make certain that they have been successfully installed before you begin to install Compaq COBOL. To eliminate possible installation errors, execute the following command procedure to start up Oracle CDD/Repository:


$ @SYS$STARTUP:CDDSTRTUP.COM

1.5 Installation Procedure Requirements

This section describes the requirements for installing Compaq COBOL, which include process account quotas, system parameters, disk space, and so on.

Standard procedures for checking and setting various parameters are described in Section 1.6.

1.5.1 Privileges

To install Compaq COBOL, you must be logged in to an account that has SETPRV or at least the following privileges:

Privileges required for product use are defined in Section 3.4.

1.5.2 System Parameters

Table 1-1 lists the minimum required system parameter values for the installation. Depending on the kinds of programs and applications running at your site, you might need higher values for some settings.

Table 1-1 Minimum Required System Parameter Values
System Parameter Minimum Value  
Contiguous free global pagelets 1 7000  
Global sections 1 3  
     


1These values represent the number of free global pagelets and global sections required for the installation, not the total number you need to run your system and other software.

Note

If you do not ensure that your system has the necessary global pagelets and global section SYSGEN parameters for the installation, the DCL tables can become corrupted in some situations.

1.5.3 Disk Space

The Compaq COBOL requirements for free disk storage space are different during installation and after installation. Table 1-2 summarizes the storage requirements.

Table 1-2 Disk Space Requirements
Kit Blocks During Installation Blocks After Installation
Compaq COBOL 26,000 22,000

To determine the number of free disk blocks on the current system disk, enter the following command at the DCL prompt:


$ SHOW DEVICE SYS$SYSDEVICE

1.5.4 Backing Up Your System Disk

Compaq recommends that you do a system disk backup before installing any software.

Use the backup procedures that are established at your site. For details on performing a system disk backup, see the section on backing up the system disk in the OpenVMS System Manager's Manual.

1.6 Standard System Maintenance Procedures

This section explains how to do various standard procedures:

1.6.1 Calculating the Values for Global Pagelets and Global Sections

You must have an adequate number of free global pagelets and global sections to install and run Compaq COBOL. First, determine how many free global pagelets and sections you have on your system, then use AUTOGEN to increase the global pagelets and global sections system parameters as necessary.

The following DCL command will return a figure that you can use as an approximation of the number of global pagelets needed:


$ DIR/SIZE SYS$LIBRARY:DCLTABLES.EXE

You can use the WRITE command with the F$GETSYI lexical function to find the number of free global pagelets and global sections on your system. The following example shows how to get this information at your terminal (the default for SYS$OUTPUT):


$ WRITE SYS$OUTPUT F$GETSYI("CONTIG_GBLPAGES")
15848
$ WRITE SYS$OUTPUT F$GETSYI("FREE_GBLSECTS")
24

Section 1.6.2 describes the procedures for increasing these values using AUTOGEN.

1.6.2 Changing System Parameter Values with AUTOGEN

Use the AUTOGEN command procedure to change system parameters. AUTOGEN automatically adjusts values for parameters that are associated with the values you reset manually. To change system parameters with AUTOGEN, edit the SYS$SYSTEM:MODPARAMS.DAT file.

To change a parameter value listed in this file, delete the current value associated with that parameter and enter the new value.

To add a new parameter, add a line to the file that includes both the name of the parameter and its value. For example:


WSMAX = 8096

To modify incremental parameters such as free global pagelets and global sections, use ADD_. The following example increases the global page setting by 2000:


ADD_GBLPAGES = 2000

Note that when you set the page file quota, you do not use a value that exceeds the amount of page file space available on the system.

After you make all your changes, exit from the editor and execute the AUTOGEN procedure to recalculate your system parameters. The following command recalculates your system parameters and reboots the system:


$ @SYS$UPDATE:AUTOGEN GETDATA REBOOT

When you specify REBOOT, AUTOGEN performs an automatic system shutdown and then reboots the system.

Note

Any users logged on to the system are immediately disconnected during the shutdown.

The automatic reboot puts the new parameter values into effect.

The AUTOGEN utility automatically adjusts some of the SYSGEN parameters based on the consumption of resources since the last reboot. If you do not want to take advantage of this automatic adjustment, include the NOFEEDBACK qualifier on the AUTOGEN command line.

For more information about using AUTOGEN, see the OpenVMS System Manager's Manual.


Chapter 2
Installing Compaq COBOL

After you register and load the license PAK (including the COBOL DBMS PAK, if you have it), the installation will take approximately 5 to 10 minutes, depending on your system configuration.

If you encounter any failures during installation, see Appendix B.

As of Version 2.7, Compaq COBOL for OpenVMS Alpha is installed with the POLYCENTER Software Installation utility (PCSI) instead of VMSINSTAL so that its components will be registered in the PCSI Registry on your system. When the PCSI PRODUCT command is used for later installations of kits, such as for OpenVMS Alpha, which contain components of the Compaq COBOL product (for example, the COBRTL), the PRODUCT command will check in the PCSI Registry to see whether the registered version has a higher version number than the one about to be installed. If so, the PRODUCT command will bypass the installation of that component.

Compaq COBOL for OpenVMS Alpha is packaged in three PCSI kits:

Thus, you will install two kits: the appropriate RTL kit for your operating system, and then the compiler kit. The RTL kit should be installed first. (Users who install only the RTL will need to install only the RTL kit specified for their operating system.)

To abort the installation procedure at any time, press Ctrl/Y. When you press Ctrl/Y, the installation procedure deletes all files it has created up to that point and exits to DCL level. To retry the installation procedure after pressing Ctrl/Y, proceed from Step 5.

When the system prompts you with a question during the installation procedure, the default answer is listed in brackets ([]).

Step-by-Step Instructions

To install Compaq COBOL, perform the following steps:

  1. Log in to a privileged account and set your default device and directory to SYS$UPDATE.


     Username: SYSTEM
     Password:
     
    $ SET DEFAULT SYS$UPDATE
    

    Your account must have the BYPASS, CMKRNL, SYSLCK, and SYSPRV privileges enabled. If your process has the SETPRV privilege, you can enable these privileges by typing the following command:


    $ SET PROCESS/PRIVILEGE=(BYPASS,CMKRNL,SYSLCK,SYSPRV)
    

    To check whether you have these privileges enabled, type the following command:


    $ SHOW PROCESS/PRIVILEGES
    

  2. Ascertain that the license registration PAK is installed on your system.
    Compaq COBOL utilizes the OpenVMS License Management Facility (LMF). If you have not registered and loaded your PAK or PAKs, you must do so to successfully complete the installation (see Section 1.2).
  3. Locate Compaq COBOL on the media CD-ROM.
    To obtain the kit directory location of the Compaq COBOL distribution files on the appropriate OpenVMS Alpha Software Product Library CD-ROM (media CD-ROM), do one of the following:
    For information about using the CDMENU utility and the CD-ROM files, see the Software Product Library CD-ROM User's Guide, which accompanies the media CD-ROM distribution kit. This user guide and the CD-ROM master index file are provided as online files in the [README] directory on the first media CD-ROM.
    To determine whether the appropriate media CD-ROM is already mounted on your system, type the following command:


    $ SHOW DEVICE DKA400
    

    Note

    DKA400 is the device name used in examples in this document to show where the CD-ROM has been mounted. You need to determine the name of the CD-ROM drive on your system.

    If the media CD-ROM is not mounted, either contact the appropriate system manager or insert the appropriate media CD-ROM (write down the volume label) into an available CD-ROM drive. Type the appropriate MOUNT command (omitting the /FOREIGN qualifier), such as the following:


    $ MOUNT DKA400 label
    

    Where label is the volume label of that media CD-ROM.
    To check that you have located the correct CD-ROM device and directory, use the following DIRECTORY command:


    $ DIRECTORY DKA400:[directory]*.PCSI
    

    Where directory is [COBOL028].

  4. Invoke PCSI and extract the Release Notes so that you can read them before completing the installation.
    To extract the online Release Notes, type the following command:


    $ PRODUCT EXTRACT RELEASE_NOTES COBOL/FILE=SYS$HELP:COBOL028.RELEASE_NOTES -  
    $_/SOURCE=device:[directory]
    

    This command will extract the Release Notes into SYS$HELP.
    Read the Release Notes before continuing with the installation.

  5. Use PCSI to install the Run-Time Library, COBRTL.
    Install the COBRTL before installing the compiler.
    If you are running OpenVMS Alpha Version 6.2 through Version 7.1-1H2, do the following:
    First, remove any older version of COBRTL with the following command:


    $ PRODUCT REMOVE COBRTL
    

    If COBRTL has not been previously installed via PCSI, you see the following message:


    %PCSIUI-I-NOMATCH, no products found matching: COBRTL
    

    If you see the following question, answer NO, as follows:


    %PCSI-E-EXEFAIL, execute statement failed; status 
    returned from DCL follows 
    -SYSTEM-F-ABORT, abort 
    %PCSI-E-OPFAILED, operation failed 
    Terminating is strongly recommended. 
    Do you want to terminate? [YES] NO
    

    Second, enter the following command to install COBRTL:


    $ PRODUCT INSTALL COBRTL/VERSION=2.8-670A - 
    $_/SOURCE=device:[directory]
    

    If you get the following question for either DEC$COBRTL or LIBOTS2, answer NO.


    %PCSI-E-FAILCONF, failed to resolve conflicting requirements 
    Terminating is strongly recommended. 
    Do you want to terminate?  [YES] NO
    

    If you are running OpenVMS Alpha Version 7.1-2 or higher, do the following:


    $ PRODUCT INSTALL COBRTL/VERSION=2.8-670B - 
    $_/SOURCE=device:[directory]
    

    If the system disk for this installation is shared in your cluster, do the following on the other nodes that share the system disk:


    $ INSTALL REPLACE SYS$LIBRARY:DEC$COBRTL.EXE
    $ INSTALL REPLACE SYS$LIBRARY:LIBOTS2.EXE
    

  6. Use PCSI to install the COBOL compiler.
    Use this command:


    $ PRODUCT INSTALL COBOL/VERSION=2.8-1286 - 
    $_/SOURCE=device:[directory]
    

    If the system disk for this installation is shared in your cluster, do the following on the other nodes that share the system disk:


    $ INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE
    


Next Contents