Micro_Focus_COBOL_____________________________ Installation Guide for Tru64 UNIX Systems Order Number: AA-Q42CK-TE December 2000 This guide describes how to install the Compaq distributed version of MERANT's Micro Focus COBOL Software Developer Suite and the Micro Focus COBOL Application Server on a system running Compaq Tru64 UNIX, formerly called DIGITAL UNIX. Revision/Update Information: This manual super- sedes AA-Q42CJ-TE, Micro Focus COBOL Installation Guide for Tru64 UNIX. Operating System & Version: Tru64 UNIX Version 4.0F or Version 5.1. Future maintenance releases may require higher versions. Software Version: Micro Focus COBOL V4.1C Software Developer Suite Micro Focus COBOL V4.1C Application Server Compaq Computer Corporation Houston, Texas __________________________________________________________ December 2000 Compaq shall not 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 products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting a further additional warranty. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Compaq Computer Corporation or its affiliated 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. © 2000 Compaq Computer Corporation COMPAQ, and the Compaq logo Registered in U.S. Patent and Trademark Office. Alpha and Tru64 are trademarks of Compaq Information Technologies Group, L.P. MERANT, Micro Focus, Micro Focus Object COBOL, Micro Focus COBOL, Micro Focus COBOL Developer Suite, COBOL Toolbox, Dialog System, Application Server, and Micro Focus Operating System Extensions are trademarks of MERANT International Limited. OSF/1 and UNIX are trademarks of The Open Group in the United States and other countries. All other product names mentioned herein may be trademarks of their respective companies. This document is available on CD-ROM. -3 ________________________________________________________________ Contents Preface.................................................. v 1 Preparing for Micro Focus COBOL Installation 1.1 Reading the Online Release Notes................ 1-1 1.2 Registering Your Software License............... 1-2 1.3 Special Checks and Requirements for Installing Micro Focus COBOL............................... 1-2 1.4 Checking Installation Procedure Requirements.... 1-3 1.4.1 Checking Login Privileges .................... 1-3 1.4.2 Checking Hardware Requirements ............... 1-3 1.4.3 Checking Software Requirements ............... 1-4 1.4.4 Determining Which Subsets to Load ............ 1-5 1.4.5 Determining Disk Space Requirements .......... 1-5 1.4.5.1 Checking Current Disk Space................ 1-9 1.4.5.2 Increasing Disk Space by Using Alternative Disks ..................................... 1-10 1.5 Installing from Media or Using RIS.............. 1-11 1.6 Backing Up Your System Disk..................... 1-11 1.7 Stopping the Installation....................... 1-12 2 Installing Micro Focus COBOL 2.1 Using CD-ROM Distribution Media................. 2-1 2.2 Using an RIS Distribution Area ................. 2-2 2.3 Responding to Installation Procedure Prompts.... 2-2 2.3.1 Selecting Subsets ............................ 2-2 2.3.2 Monitoring Displays During the Subset Loading Process....................................... 2-3 v 3 After Installation 3.1 Running the Installation Verification Procedure ................................................ 3-1 3.2 Deleting Micro Focus COBOL from Your System..... 3-1 A Sample Listings A.1 Sample Installation of Micro Focus COBOL ....... A-1 A.2 Sample Installation of Micro Focus Application Server ......................................... A-3 A.3 Sample Installation of Verification Procedure for Micro Focus COBOL .......................... A-7 A.4 Sample Installation of Verification Procedure for Micro Focus COBOL Application Server ....... A-8 B Recovering from Errors B.1 Failures During Product Installation ........... B-1 Tables 1 Conventions Used in This Guide .............. vi 1-1 Micro Focus COBOL Subset Sizes (Kilobytes Required)..................................... 1-6 vi ________________________________________________________________ Preface This installation procedure creates Micro Focus COBOL file systems subordinate to the /usr/lib, /usr/bin, and /usr/man directories. Keep this guide with your distribution kit. You will need it to install maintenance updates or to reinstall Micro Focus COBOL for any other reason. Intended Audience This guide is intended for system managers who install the Compaq distributed version of Micro Focus COBOL products. Related Documentation The Micro Focus product documentation can be ordered in the following set. Also included with the documentation order is this installation guide and a Read Before Installing or Using Micro Focus COBOL V4.1C for Tru64 UNIX Systems letter, which provide specific information about the product installation on Tru64 UNIX. The Micro Focus COBOL Developer Suite for UNIX set includes: Getting Started Object COBOL User Guide Object COBOL Character Tools Dialog System Character Mode User Guide Master Index & Glossary Programmer's Guide to Writing Programs Programmer's Guide to Creating User Interfaces Programmer's Guide to File Handling Programmer's Guide to Communications v OO Programming with Object COBOL Compatibility Guide Language Reference Language Reference-Additional Topics Error Messages Pocket Guide Conventions Table 1 describes the conventions used in this guide. Table_1_Conventions_Used_in_This_Guide____________________ Convention_____Meaning____________________________________ # A pound sign is the default superuser prompt. % A percent sign is the default user prompt. In examples, a boxed symbol indicates that you must press the named key on the keyboard. Ctrl/C This symbol indicates that you must press the Ctrl key while you simultaneously press another key (in this case, C). user input In interactive examples, this bolded typeface indicates input entered by the user. file system In text, this typeface indicates the exact name of a command, routine, partition, pathname, directory, or file. This typeface is also used in interactive examples and other screen displays. vi Table_1_(Cont.)_Conventions_Used_in_This_Guide____________ Convention_____Meaning____________________________________ UPPERCASE The Tru64 UNIX operating system differ- lowercase entiates between uppercase and lowercase characters. Examples, syntax descriptions, function definitions, and literal strings that appear in text must be typed exactly as shown. setld(8) Cross-references to online reference pages include the appropriate section number in parentheses. For example, setld(8) indicates that you can find the material on the setld command in Section 8 of the reference pages. [y] In a prompt, square brackets indicate that the enclosed item is the default response. For example, [y] means the default response _______________is_Yes.____________________________________ vii 1 ________________________________________________________________ Preparing for Micro Focus COBOL Installation Your distribution kit includes a letter entitled Read Before Installing or Using Micro Focus COBOL V4.1C for Tru64 UNIX Systems. This letter discusses important information that might not be included in this guide. You should read this letter now. 1.1 Reading the Online Release Notes Micro Focus COBOL provides online release notes. Compaq strongly recommends that you read the release notes before using the product. The release notes contain information specific to the release of the product on Tru64 UNIX and about changes to the application. The release notes for Micro Focus COBOL are in the following file: usr/lib/cmplrs/cob/relnotes For information about installing these release notes before installing Micro Focus COBOL, see Section 2.3.1. You can use the following command to read the release notes after Micro Focus COBOL is installed: # more /usr/lib/cmplrs/cob/relnotes A POSTSCRIPT version of the release notes is also available in the file: usr/lib/cmplrs/cob/relnotes.ps An additional source of information and release notes pertaining to product updates can be found in the installed product directory under the docs subdirectory: usr/lib/cmplrs/cob/docs. 1-1 Preparing for Micro Focus COBOL Installation 1.2 Registering Your Software License 1.2 Registering Your Software License Micro Focus COBOL includes support for the Compaq License Management Facility (LMF). You must register your License Product Authorization Key (License PAK) in the License Database (LDB) to use Micro Focus COBOL on a newly licensed node. 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 Micro Focus COBOL as an update on a node already licensed for this software, you have already completed the License PAK registration requirements. If you are installing prerequisite or optional software along with Micro Focus COBOL, review the PAK status and install the PAKs for any prerequisite or optional software before you install Micro Focus COBOL. To register a license under the Tru64 UNIX operating system, first log in as superuser. At the superuser prompt, edit an empty PAK template with the lmf register command as follows and include all the information on your License PAK: # lmf register After you register your license, use the following lmf reset command to copy the license details from the License Database (LDB) to the kernel cache: # lmf reset For complete information on using the License Management Facility, see the Tru64 UNIX Software License Management manual and the lmf(8) reference page. 1.3 Special Checks and Requirements for Installing Micro Focus COBOL This installation describes two Micro Focus COBOL components: the Micro Focus COBOL Software Developer Suite and the Micro Focus COBOL Application Server. 1-2 Preparing for Micro Focus COBOL Installation 1.3 Special Checks and Requirements for Installing Micro Focus COBOL The Micro Focus COBOL Software Developer Suite provides the development environment for your COBOL applications. The Micro Focus COBOL Application Server for Tru64 UNIX, previously known as Micro Focus Operating System Extensions (OSX), is used for the deployment of COBOL applications and is installed on systems where you are not installing the Micro Focus COBOL Software Developer Suite. 1.4 Checking Installation Procedure Requirements This section discusses various requirements for installing Micro Focus COBOL. Installing Micro Focus COBOL, including running the Installation Verification Procedure (IVP), takes approximately 8 to 10 minutes, depending on your type of media and system configuration. 1.4.1 Checking Login Privileges You must have superuser privileges to install the Micro Focus COBOL software and to register the license PAK. 1.4.2 Checking Hardware Requirements To install Micro Focus COBOL, you need the following hardware: o Software distribution device (if installing from media) o Terminal You can use either a hardcopy or video terminal to communicate with the operating system and to respond to prompts from the installation procedure. See the Micro Focus COBOL Software Product Description (SPD) for additional hardware requirements. 1-3 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements 1.4.3 Checking Software Requirements Micro Focus COBOL V4.1C requires Tru64 UNIX Version 4.0F or Version 5.1. To gain the full benefits of the Micro Focus COBOL product, the following Tru64 UNIX software subsets should be installed on the same system where you are going to install Micro Focus COBOL: o OSFBASE-Base System subset o OSFPGMR-Software Development Environment If the software development tools in the OSFPGMR subset (that is, the loader, linker (ld), and assembler (as)) are not installed, restricts your ability to create the executables with Micro Focus COBOL and restricts the use of a COBOL object into an executable. To check whether this subset is loaded, follow these steps: 1. Log in to the system where you will install Micro Focus COBOL. 2. Enter the following command: # setld -i | egrep 'OSFBASE|OSFPGMR' If you do not log in as superuser (login name root), you must enter the full path of the command. For example: % /usr/sbin/setld -i | egrep 'OSFBASE|OSFPGMR' Check the displayed rows for the name of the relevant subset and any related patches. The word "installed" appears in a row after the subset identifier when a subset is loaded. If the word "installed" does not appear (the second column in a row is blank), the subset or patch is not loaded. In this case, you must load the missing system software before installing Micro Focus COBOL. (For information on how to load the operating system software, see the Tru64 UNIX Installation Guide.) 1-4 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements 1.4.4 Determining Which Subsets to Load You must choose the Micro Focus COBOL subsets that you want to load. The Micro Focus COBOL Software Developer Suite for Tru64 UNIX subsets have the following titles: o MFCBASE414 Micro Focus COBOL V4.1C for Tru64 UNIX o MFCDOC414 Micro Focus Product Release Notes and Online Information o MFCMAN414 Micro Focus COBOL V4.1C Reference Pages The Micro Focus COBOL Application Server for Tru64 UNIX subsets have the following titles: o MFOBASE414 Micro Focus Application Server V4.1C for Tru64 UNIX o MFODOC414 Micro Focus Product Release Notes o MFOMAN414 Micro Focus Application Server V4.1C Reference Pages 1.4.5 Determining Disk Space Requirements Table 1-1 lists the approximate disk space requirements for loading Micro Focus COBOL software subsets. These requirements apply to the disks where you load the Micro Focus COBOL subsets. Requirements are listed by directory for your convenience, if you are doing installations on systems where these directories are mount points for different disk partitions. 1-5 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements Table_1-1_Micro_Focus_COBOL_Subset_Sizes_(Kilobytes_Required)___ Size Subset_Name______Directory____________________________(Kbytes)__ MFCBASE414 contains MFCDOC414 and MFCMAN414 usr/bin 1 usr/lib/cmplrs/cob 11395 usr/lib/cmplrs/cob/bin 2631 usr/lib/cmplrs/cob/cdr 68 usr/lib/cmplrs/cob/coblib 10148 usr/lib/cmplrs/cob/conversion 486 usr/lib/cmplrs/cob/cpylib 34 usr/lib/cmplrs/cob/demo 245 usr/lib/cmplrs/cob/demo/ccitcp 41 usr/lib/cmplrs/cob/demo/clisrvr 152 usr/lib/cmplrs/cob/demo/csbind 32 usr/lib/cmplrs/cob/demo/dialog 118 usr/lib/cmplrs/cob/demo/fhutils 84 usr/lib/cmplrs/cob/demo/fs 56 usr/lib/cmplrs/cob/demo/nls 16 usr/lib/cmplrs/cob/demo/ohbld 10 usr/lib/cmplrs/cob/demo/oops 79 usr/lib/cmplrs/cob/demo/panels 275 usr/lib/cmplrs/cob/demo/preproc 81 usr/lib/cmplrs/cob/demo/sharedmem 13 usr/lib/cmplrs/cob/demo/sql 15 usr/lib/cmplrs/cob/demo/window1 36 usr/lib/cmplrs/cob/dialog 2327 usr/lib/cmplrs/cob/docs 445 usr/lib/cmplrs/cob/forms2 78 1-6 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements Table 1-1 (Cont.) Micro Focus COBOL Subset Sizes (Kilobytes __________________Required)_____________________________________ Size Subset_Name______Directory____________________________(Kbytes)__ usr/lib/cmplrs/cob/lang/C 183 usr/lib/cmplrs/cob/lang/default 183 usr/lib/cmplrs/cob/lang/en_ 183 GB.ISO8859-1 usr/lib/cmplrs/cob/lang/en_ 183 US.ISO8859-1 usr/lib/cmplrs/cob/on-line 1310 usr/lib/cmplrs/cob/src 182 usr/lib/cmplrs/cob/src/codeset 7 usr/lib/cmplrs/cob/src/dialog 582 usr/lib/cmplrs/cob/src/extsm 52 usr/lib/cmplrs/cob/src/fs 388 usr/lib/cmplrs/cob/src/makeasp 14 usr/lib/cmplrs/cob/src/mfisamv4 188 usr/lib/cmplrs/cob/src/mfisamv5 172 usr/lib/cmplrs/cob/src/oops 2495 usr/lib/cmplrs/cob/src/rebuild 215 usr/lib/cmplrs/cob/src/rts 5 usr/lib/cmplrs/cob/src/sql 58 usr/lib/cmplrs/cob/src/sybase 1 usr/lib/cmplrs/cob/src/www 112 usr/lib/cmplrs/cob/terminfo 84 usr/lib/cmplrs/cob/terminfo/a 8 usr/lib/cmplrs/cob/terminfo/q 1 usr/lib/cmplrs/cob/terminfo/t 2 usr/lib/cmplrs/cob/terminfo/v 10 usr/lib/cmplrs/cob/terminfo/w 14 usr/lib/cmplrs/cob/terminfo/x 2 1-7 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements Table 1-1 (Cont.) Micro Focus COBOL Subset Sizes (Kilobytes __________________Required)_____________________________________ Size Subset_Name______Directory____________________________(Kbytes)__ Total 35500K MFOBASE414 contains MFODOC414 and MFOMAN414 usr/bin 1 usr/lib/cmplrs/cob 5804 usr/lib/cmplrs/cob/bin 1239 usr/lib/cmplrs/cob/cdr 68 usr/lib/cmplrs/cob/coblib 10148 usr/lib/cmplrs/cob/dialog 277 usr/lib/cmplrs/cob/docs 232 usr/lib/cmplrs/cob/lang/C 160 usr/lib/cmplrs/cob/lang/default 160 usr/lib/cmplrs/cob/lang/en_ 160 GB.ISO8859-1 usr/lib/cmplrs/cob/lang/en_ 160 US.ISO8859-1 usr/lib/cmplrs/cob/on-line 21 usr/lib/cmplrs/cob/src 105 usr/lib/cmplrs/cob/src/dialog 393 usr/lib/cmplrs/cob/src/extsm 52 usr/lib/cmplrs/cob/src/mfisamv4 187 usr/lib/cmplrs/cob/src/mfisamv5 171 usr/lib/cmplrs/cob/src/oops 1307 usr/lib/cmplrs/cob/src/rebuild 215 usr/lib/cmplrs/cob/src/rts 5 usr/lib/cmplrs/cob/src/sql 46 usr/lib/cmplrs/cob/src/www 112 1-8 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements Table 1-1 (Cont.) Micro Focus COBOL Subset Sizes (Kilobytes __________________Required)_____________________________________ Size Subset_Name______Directory____________________________(Kbytes)__ usr/lib/cmplrs/cob/terminfo 84 usr/lib/cmplrs/cob/terminfo/a 8 usr/lib/cmplrs/cob/terminfo/q 1 usr/lib/cmplrs/cob/terminfo/t 2 usr/lib/cmplrs/cob/terminfo/v 10 usr/lib/cmplrs/cob/terminfo/w 14 usr/lib/cmplrs/cob/terminfo/x 2 Total__________________________________________________21000K___ Using the disk space requirements in Table 1-1, total the values for the subsets that you will load in each directory. Compare the space required for subsets with the free space currently on the disks where Micro Focus COBOL files will reside. 1.4.5.1 Checking Current Disk Space To check the amount of free space for a directory path, log in to the system where you will install Micro Focus COBOL. You can check which directories are mounted and where they are by viewing the /etc/fstab file. For example: # more /etc/fstab /dev/rd0a:/:rw:1:1:ufs:: /dev/rd0g:/usr:rw:1:2:ufs:: /usr/staff/r1/leslie@bigsys:/usr/staff/r1/leslie:rw:0:0:nfs:bg: /usr/man@bigsys:/usr/man:ro:0:0:nfs:bg: The display indicates that /usr (mounted to /dev/rd0g) is the only mount point that affects where Micro Focus COBOL files will reside; the system has only one local disk drive; and the /usr/lib and file system resides in the g partition of the disk on that drive. 1-9 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements To check the total space and the free space for the directories where Micro Focus COBOL will reside, enter the df command. Given the previous display of the /etc/fstab file, which shows that only /usr is a mount point, you need to check free space only in the /usr file system. For example: # df /usr Filesystem Total kbytes kbytes % node kbytes used free used Mounted on /dev/rd0g 122598 54447 55892 49% /usr This display shows that there are 55,892 Kilobytes free. This free space must accommodate the subset requirements listed in Table 1-1. On systems where /usr/lib and /usr/man are mounted to different devices from /usr, enter the following command: # df /usr/lib /usr/man In this case, you compare space required for Micro Focus COBOL files in /usr/lib to the free space displayed in the first line of the df output list and compare the space required for Micro Focus COBOL files in /usr/man to the free space displayed in the second line of that list. 1.4.5.2 Increasing Disk Space by Using Alternative Disks The Micro Focus COBOL installation procedure creates some directories and loads files into subordinate directories, as listed in usr/lib/cmplrs/cob/filelist.xxx, where the suffix xxx is either MFC or MFO corresponding to the products installed. If the usr/lib/cmplrs directory node in the previous paths does not exist, the installation procedure creates it. If the (usr/lib/cmplrs) node does exist, the installation procedure uses it. If you find that there is insufficient disk space for the Micro Focus COBOL subsets and you know that you have additional space on alternative disks or disk partitions for your system, perform the following steps before installing the Micro Focus COBOL product or the Micro Focus COBOL Application Server: 1. Log in as superuser. 1-10 Preparing for Micro Focus COBOL Installation 1.4 Checking Installation Procedure Requirements 2. Create the directory usr/lib/cmplrs, usr/lib/cmplrs/cob_ nnn, or both (in these directory names, nnn is the Micro Focus COBOL version number). 3. Specify in the /etc/fstab file that one or more of the newly created directories are mount points to new disk partitions where there is additional space. 4. Enter the mount -a command so that the new mount points take effect. 1.5 Installing from Media or Using RIS Someone from your site must perform at least one Micro Focus COBOL installation from the distribution medium. Your system manager can then decide whether to make a Micro Focus COBOL distribution kit available on line, so that subsequent installations of Micro Focus COBOL can use the Remote Installation Service (RIS). For information on extracting Micro Focus COBOL subsets to a RIS distribution area, see the Tru64 UNIX Sharing Software on a Local Area Network manual. If you expect to use Micro Focus COBOL subsets from the RIS area of a remote system for installation on your local system, first check with your system manager to ensure that: o A Micro Focus COBOL network kit is available for use o Your system is registered as an RIS client If Micro Focus COBOL subsets are available to you on an RIS server system, you must know the name of that system. For more information on installing Micro Focus COBOL from an RIS distribution area, see Section 2.2. 1.6 Backing Up Your System Disk Compaq recommends that you back up your system disk before installing any software. For information about backing up your system disk, see the Tru64 UNIX system documentation. 1-11 Preparing for Micro Focus COBOL Installation 1.7 Stopping the Installation 1.7 Stopping the Installation To stop the installation procedure at any time, press Ctrl/C. You must then delete files created up to this point interactively. The directories and files created during the Micro Focus COBOL installation are listed in the file corresponding to the product being installed: usr/lib/cmplrs/cob/filelist.MFC usr/lib/cmplrs/cob/filelist.MFO 1-12 2 ________________________________________________________________ Installing Micro Focus COBOL This chapter describes how to install Micro Focus COBOL. Before you start the installation, read Chapter 1. You can also install Micro Focus COBOL from a server area. 2.1 Using CD-ROM Distribution Media This procedure installs Micro Focus COBOL files on to a disk belonging to the system where you perform the installation. When you run Micro Focus COBOL, its executable images are mapped into memory on your system. Follow these steps to install Micro Focus COBOL from CD- ROM media: 1. Mount the media on the appropriate disk drive. 2. Log in as superuser (login name root) to the system where you will install Micro Focus COBOL. 3. Make sure you are at the root (/) directory by entering the following command: # cd / 4. Specify the /cdrom directory to be the mount point for the distribution file system on the drive. If your drive is ral, enter the following command: # mount -dr /dev/ralc /cdrom 5. Enter a setld command that requests the load function (-l) and identifies the directory in the mounted file system where Micro Focus COBOL subsets are located. Depending on the Micro Focus product being installed, the command would be one of the following: # setld -l /cdrom/mfc41c/kit # setld -l /cdrom/mfo41c/kit 2-1 Installing Micro Focus COBOL 2.1 Using CD-ROM Distribution Media The installation procedure now displays the names of Micro Focus COBOL subsets and asks you to specify the subsets that you want to load. See Section 2.3 to continue the installation. 2.2 Using an RIS Distribution Area If you are installing Micro Focus COBOL subsets that reside in an /etc/ris RIS distribution area on a remote system, follow these steps: 1. Log in as superuser (login name root) to the system where you will install Micro Focus COBOL. 2. Make sure you are at the root directory (/) by entering the following command: # cd / 3. Enter a setld command that requests the load function (-l option) and identifies the system where the Micro Focus COBOL subsets are located. For example, if you are loading Micro Focus COBOL subsets from an RIS distribution area on node orion, enter the following: # setld -l orion: Remote Installation Services now displays a menu that lists all the software subsets available to you and asks you to specify the subsets that you want to load. See Section 2.3 to continue the installation. 2.3 Responding to Installation Procedure Prompts This section explains the installation procedure prompts and displays. 2.3.1 Selecting Subsets You must specify which Micro Focus COBOL subsets you want to load. ________________________Note ________________________ If you are installing from an RIS distribution area, the number of subsets can vary depending on what 2-2 Installing Micro Focus COBOL 2.3 Responding to Installation Procedure Prompts products are available in the RIS area and how many subsets they have. _____________________________________________________ If you specify more than one number at the prompt, separate each number with a space, not a comma. Next, the script lets you verify your choice. If the displayed subsets are not the ones you intended to choose, enter n. In this case, the subset selection menu is again displayed and you can correct your choice of optional subsets. If the displayed subsets are the ones you want to load, enter y. 2.3.2 Monitoring Displays During the Subset Loading Process The installation procedure loads and verifies the selected Micro Focus COBOL subsets. When you see the "Verifying" message during the subset installation, the installation procedure is checking to see that the files are copied correctly; it is not an Installation Verification Procedure (IVP) message. During the installation, if you get errors from the setld utility, see the Diagnostics section of the setld(8) reference page for an explanation of the errors and the appropriate actions to take. Chapter 3 explains how to run the IVP after installation and how to delete old Micro Focus COBOL subsets before installing a new version of Micro Focus COBOL. 2-3 3 ________________________________________________________________ After Installation This chapter explains what you need to do after the installation to make Micro Focus COBOL ready for use. 3.1 Running the Installation Verification Procedure After installing Micro Focus COBOL, you can run the Installation Verification Procedure (IVP) independently to verify that the software is available on your system. You might also want to run the IVP after a system failure to be sure that users can access Micro Focus COBOL. The Micro Focus COBOL IVP verifies the installation by using the fverify command with the -y option (see the fverify(8) reference page). MFCBASEnnn compiles and runs a Micro Focus COBOL program, and MFOBASEnnn runs a previously compiled Micro Focus COBOL program. To run the IVP after an installation, enter the following command: # setld -v subsetname In this command, subsetname can be any Micro Focus COBOL subset. For a sample Micro Focus COBOL IVP, see Appendix A. If the verification process fails, look in the /var/adm/smlogs/fverify.log file for information to help diagnose the problem. 3.2 Deleting Micro Focus COBOL from Your System If you must remove a version of Micro Focus COBOL from your system, delete each subset that you previously installed. Note that prior to the release of Micro Focus COBOL V4.0A Software Developer Suite, the product installations of Micro Focus COBOL, Micro Focus Toolbox, and Micro Focus Dialog System consisted of individual 3-1 After Installation 3.2 Deleting Micro Focus COBOL from Your System subsets. If you find an older version of Micro Focus installed on your system, you may find the following subsets installed: MFCBASEnnn, MFCMANnnn, MFCDOCnnn, MFTBASEnnn, MFTMANnnn, MFTDOCnnn, MFDBASEnnn, MFDMANnnn, and MFDDOCnnn. To delete subsets: 1. Log in as superuser (login name root). 2. Make sure you are at the root directory (/) by entering the following command: # cd / 3. Enter the following form of the setld command: # setld -i | egrep 'MFC|MFO' 4. Look for the word "installed" in the listing produced, and then delete the installed subsets. For example: # setld -d subsetnamennn subsetnamennn In this command, nnn is the version number. 3-2 A ________________________________________________________________ Sample Listings This appendix provides samples of the following proce- dures: o Installation of Micro Focus COBOL products using disk media o Installation Verification Procedures (IVP) A.1 Sample Installation of Micro Focus COBOL # setld -l . The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. If this is the case, you can choose subsets screen by screen or all at once on the last screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) Micro Focus COBOL V4.1C Reference Pages 2) Micro Focus COBOL V4.1C for Tru64 UNIX 3) Micro Focus Product Release Notes and On-line Information Or you may choose one of the following options: 4) ALL of the above 5) CANCEL selections and redisplay menus 6) EXIT without installing any subsets Press RETURN to display the next screen: Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): 4 A-1 Sample Listings A.1 Sample Installation of Micro Focus COBOL You are installing the following optional subsets: Micro Focus COBOL V4.1C Reference Pages Micro Focus COBOL V4.1C for Tru64 UNIX Micro Focus Product Release Notes and On-line Information Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. 3 subset(s) will be installed. Loading 1 of 3 subset(s).... Micro Focus COBOL V4.1C for Tru64 UNIX Copying from . (disk) Verifying Loading 2 of 3 subset(s).... Micro Focus Product Release Notes and On-line Information Copying from . (disk) Verifying Loading 3 of 3 subset(s).... Micro Focus COBOL V4.1C Reference Pages Copying from . (disk) Verifying 3 of 3 subset(s) installed successfully. MFCBASE413, information: You can run the Installation Verification Procedure using the following command from root: setld -v MFCBASE414 MFCBASE413, information: Before running Micro Focus COBOL for Tru64 UNIX or the Micro Focus COBOL IVP, (setld -v) you must set the COBDIR and LD_LIBRARY_PATH environment variables. COBDIR specifies the directory in which Micro Focus COBOL system software is located. LD_LIBRARY_PATH specifies the search path for shared libraries and must include $COBDIR/coblib. The following commands should be issued: A-2 Sample Listings A.1 Sample Installation of Micro Focus COBOL COBDIR=/usr/lib/cmplrs/cob export COBDIR LD_LIBRARY_PATH=$COBDIR/coblib export LD_LIBRARY_PATH In the C shell, the commands are: setenv COBDIR /usr/lib/cmplrs/cob setenv LD_LIBRARY_PATH $COBDIR/coblib MFCBASE413, information: If you have relinked the Run-Time System (i.e. used the cob -x command or mkrts script at any time) then you must recreate these executable programs using this new release. If you do not re-create these executables, the results of running the older executables with this new release will be undefined. Configuring "Micro Focus COBOL V4.1C for UNIX on Tru64 UNIX" (MFCBASE414) MFCDOC413, information: The release notes are in /usr/lib/cmplrs/cob/relnotes and /usr/lib/cmplrs/cob/relnotes.ps Configuring "Micro Focus Product Release Notes and On-line Information" (MFCDOC414) Configuring "Micro Focus COBOL V4.1C Reference Pages" (MFCMAN414) A.2 Sample Installation of Micro Focus Application Server Note that you install the Micro Focus Application Server on systems that do not have the Micro Focus COBOL base product installed. A-3 Sample Listings A.2 Sample Installation of Micro Focus Application Server # setld -l . The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. If this is the case, you can choose subsets screen by screen or all at once on the last screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) Micro Focus COBOL Application Server V4.1C Reference Pages 2) Micro Focus COBOL Application Server V4.1C for Tru64 UNIX 3) Micro Focus Product Release Notes and Application Server On-line Information Or you may choose one of the following options: 4) ALL of the above 5) CANCEL selections and redisplay menus 6) EXIT without installing any subsets Press RETURN to display the next screen: Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): 4 You are installing the following optional subsets: Micro Focus COBOL Application Server V4.1C Reference Pages Micro Focus COBOL Application Server V4.1C for Tru64 UNIX Micro Focus Product Release Notes and Application Server On-line Information Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. 3 subset(s) will be installed. Loading 1 of 3 subset(s).... Micro Focus COBOL Application Server V4.1C for Tru64 UNIX Copying from . (disk) Verifying Loading 2 of 3 subset(s).... A-4 Sample Listings A.2 Sample Installation of Micro Focus Application Server Micro Focus Product Release Notes and Application Server On-line Information Copying from . (disk) Verifying Loading 3 of 3 subset(s).... Micro Focus COBOL Application Server V4.1C Reference Pages Copying from . (disk) Verifying 3 of 3 subset(s) installed successfully. MFOBASE413, information: You can run the Installation Verification Procedure using the following command from root: setld -v MFOBASE414 MFOBASE413, information: Before running Micro Focus Application Server for Tru64 UNIX or the Micro Focus Application Server IVP, (setld -v) you must set the COBDIR and LD_LIBRARY_PATH environment variables. COBDIR specifies the directory in which Micro Focus COBOL system software is located. LD_LIBRARY_PATH specifies the search path for shared libraries and must include $COBDIR/coblib. The following commands should be issued: COBDIR=/usr/lib/cmplrs/cob export COBDIR LD_LIBRARY_PATH=$COBDIR/coblib export LD_LIBRARY_PATH In the C shell, the commands are: setenv COBDIR /usr/lib/cmplrs/cob setenv LD_LIBRARY_PATH $COBDIR/coblib Configuring "Micro Focus COBOL Application Server V4.1C for Tru64 UNIX" (MFOBASE413) MFODOC413, information: The release notes are in /usr/lib/cmplrs/cob/relnotes and /usr/lib/cmplrs/cob/relnotes.ps A-5 Sample Listings A.2 Sample Installation of Micro Focus Application Server Configuring "Micro Focus Product Release Notes and Application Server On-line Information" (MFODOC414) Configuring "Micro Focus COBOL Application Server V4.1C Reference Pages" (MFOMAN414) A-6 Sample Listings Sample Installation of Verification Procedure for Micro Focus COBOL A.3 Sample Installation of Verification Procedure for Micro Focus COBOL # COBDIR=/usr/lib/cmplrs/cob # export COBDIR # LD_LIBRARY_PATH=$COBDIR/coblib # export LD_LIBRARY_PATH # setld -v MFCBASE414 MFCDOC414 MFCMAN414 Micro Focus COBOL V4.1C for Tru64 UNIX (MFCBASE414) MFCBASE414: Starting Installation Verification Procedure (IVP). If this fails, please include the following when submitting a report: 1) This subset name, which is MFCBASE414 2) Output from: ls -l /tmp/MFCBASE414.ivptmp 3) This setld session IVP, information: Emptied scratch directory. IVP, information: Compiling. IVP, information: Running. IVP, information: Execution successful. IVP, information: Cleaning up. IVP, information: MFCBASE414 is properly installed. Micro Focus Product Release Notes and On-line Information (MFCDOC414) MFCDOC414: Starting Installation Verification Procedure (IVP). IVP, information: MFCDOC414 is properly installed. Micro Focus COBOL V4.1C Reference Pages (MFCMAN414) MFCMAN414: Starting Installation Verification Procedure (IVP). IVP, information: MFCMAN414 is properly installed. A-7 Sample Listings A.4 Sample Installation of Verification Procedure for Micro Focus COBOL Application Server A.4 Sample Installation of Verification Procedure for Micro Focus COBOL Application Server # setld -v MFOBASE414 MFODOC414 MFOMAN414 Micro Focus COBOL Application Server V4.1C for Tru64 UNIX (MFOBASE414) MFOBASE414: Starting Installation Verification Procedure (IVP). If this fails, please include the following when submitting a report: 1) This subset name, which is MFOBASE414 2) Output from: ls -l /tmp/MFOBASE414.ivptmp 3) This setld session IVP, information: Created scratch directory. IVP, information: Running. IVP, information: Execution successful. IVP, information: Cleaning up. IVP, information: MFOBASE414 is properly installed. Micro Focus Product Release Notes and Application Server On-line Information (MFODOC414) MFODOC414: Starting Installation Verification Procedure (IVP). IVP, information: MFODOC414 is properly installed. Micro Focus Application Server V4.1C Reference Pages (MFOMAN414) MFOMAN414: Starting Installation Verification Procedure (IVP). IVP, information: MFOMAN414 is properly installed. A-8 B ________________________________________________________________ Recovering from Errors This appendix provides information to help you deal with failures or errors that might occur during product installation or product use. B.1 Failures During Product Installation If errors occur during the installation, the system displays failure messages. For example, if the instal- lation fails due to insufficient disk space, the following message appears: There is not enough space for subset MFCBASE414 Micro Focus COBOL MFCBASE414 will not be loaded. Errors can occur during the installation if any of the following conditions exist: o The operating system version is incorrect. o The prerequisite software version is incorrect. o There is insufficient disk space. o The system parameter values for successful installation are insufficient. For descriptions of error messages generated by these conditions, see the Tru64 UNIX documentation on system messages, recovery procedures, and Tru64 UNIX software installation. For information on system software requirements, see Section 1.4.3. To obtain information about purchasing a Compaq Software Product Services Support Agreement or other support services, please contact your local Compaq sales representative. B-1