DIGITAL_COBOL_______________________________________ Installation Guide for DIGITAL UNIX Systems Order Number: AA-Q2G2F-TE March 1998 This guide describes how to install DIGITAL COBOL on an Alpha system running the DIGITAL UNIX operating system. This guide applies to DIGITAL COBOL Version 2.5 and any maintenance updates for this version. Revision/Update Information: This manual supersedes the Version 2.4 DIGITAL COBOL Installation Guide for DIGITAL UNIX Systems. Operating System & Version: DIGITAL UNIX Version 3.2G or higher. Software Version: DIGITAL COBOL Version 2.5 Digital Equipment Corporation Maynard, Massachusetts ________________________________________________________________ March 1998 Digital Equipment Corporation makes no representations that the use of its products in the manner described in this publication will not infringe on existing or future patent rights, nor do the descriptions contained in this publication imply the granting of licenses to make, use, or sell equipment or software in accordance with the description. Possession, use, or copying of the software described in this publication is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. © Digital Equipment Corporation 1994, 1998. All Rights Reserved. The following are trademarks of Digital Equipment Corporation: ACMS, ACMSxp, Bookreader, CMS, DECdocument, DEC Fortran, DEC FUSE, DECladebug, DECnet, DEC OSF/1, DEC PASCAL, DECset, DECTPU, DIGITAL, OpenVMS, PDP, Professional, VAX, VAX ADA, VAX BASIC, VAX C, VAX CDD, VAXcluster, VAX COBOL, VAX COBOL GENERATOR, VAX DOCUMENT, VAX MACRO, VAX RMS, VAX SCAN, VMS, VT, VT100, VT220, VT300, VT320, VT420, and the DIGITAL logo. The following are third-party trademarks: Display POSTSCRIPT and POSTSCRIPT are registered trademarks of Adobe Systems Incorporated. Micro Focus is a registered trademark of Micro Focus Limited. DBAPack, Hot Standby, Oracle CDD/Administrator, Oracle CDD/Repository, Oracle CODASYL DBMS, Oracle DBA Workcenter, Oracle Enterprise Manager, Oracle Expert, Oracle Graphical Schema Editor, Oracle InstantSQL, Oracle Rally, Oracle Rdb, Oracle RMU, Oracle RMUwin, Oracle SQL/Services, Oracle Trace, Oracle Trace Collector, and Rdb7 are trademarks of Oracle Corporation. OSF/1 and Motif are registered trademarks of the Open Software Foundation, Inc. Transarc and Encina are registered trademarks of Transarc Corporation. UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Limited. X/Open is a trademark of X/Open Company Limited. All other trademarks and registered trademarks are the property of their respective holders. ZK6295 This document is available on CD-ROM. This document was prepared using VAX DOCUMENT Version 2.1. _________________________________________________________________ Contents Preface................................................... v 1 Preparing for DIGITAL COBOL Installation 1.1 Reading the Online Release Notes.............. 1-1 1.2 Registering Your Software License............. 1-1 1.3 Checking the Software Distribution Kit........ 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-3 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-7 1.4.5.2 Increasing Disk Space by Using Alternative Disks ...................... 1-8 1.5 Installing from Media or Using RIS............ 1-8 1.6 Backing Up Your System Disk................... 1-9 1.7 Stopping the Installation..................... 1-9 2 Installing DIGITAL COBOL 2.1 Using CD-ROM Consolidated Distribution Media......................................... 2-1 2.2 Using a 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-4 iii 3 After Installation 3.1 Running the Installation Verification Procedure .................................... 3-1 3.2 Deleting a Version of DIGITAL COBOL from Your System........................................ 3-2 A Sample Installation and Verification A.1 Sample DIGITAL COBOL Installation............. A-1 A.2 Sample DIGITAL COBOL Installation Verification.................................. A-4 B Files Installed on Your System C Recovering from Errors C.1 Failures During Product Installation ......... C-1 C.2 Failures During DIGITAL COBOL Use............. C-2 Examples A-1 Sample DIGITAL COBOL Installation......... A-1 A-2 Sample DIGITAL COBOL Installation Verification.............................. A-4 Tables 1 Conventions Used in This Guide ........... vi 1-1 DIGITAL COBOL Directory Sizes (Kilobytes Required)................................. 1-6 B-1 Installed DIGITAL COBOL Files............. B-1 iv _________________________________________________________________ Preface This installation procedure creates DIGITAL 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 DIGITAL COBOL for any other reason. Intended Audience This guide is intended for system managers who install DIGITAL COBOL. Associated Documentation In addition to this guide, the DIGITAL COBOL documentation set includes the following: o DIGITAL COBOL Reference Manual o DIGITAL COBOL User Manual o DIGITAL COBOL release notes (see Section 1.1) o cobol(1) reference page o Read Before Installing or Using DIGITAL COBOL Version 2.5 for DIGITAL UNIX Systems cover letter You may also find the following documentation useful: o Guide to Software License Management o lmf(8) reference page o Guide to Sharing Software on a Local Area Network o The DIGITAL UNIX installation guide v 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, the bold typeface indicates input entered by the user. filesystem 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. UPPERCASE The DIGITAL UNIX operating system lowercase differentiates between lowercase and uppercase characters. Examples, syntax descriptions, function definitions, and literal strings that appear in text must be typed exactly as shown. (continued on next page) vi Table_1_(Cont.)_Conventions_Used_in_This_Guide_____________ Convention_____Meaning_____________________________________ 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._____________________________________ References In this manual, every use of OpenVMS Alpha means the OpenVMS Alpha operating system and every use of DIGITAL UNIX means the DIGITAL UNIX operating system. DIGITAL UNIX was formerly called DEC OSF/1. vii Reader's Comments DIGITAL appreciates your comments. If you find errors or want to comment about this manual, please send the manual title, order number, and your comments by one of the following methods: o Electronic Internet mail: cobol_docs@bookie.enet.dec.com o Fax: 603-884-0120 Attn: Languages Documentation, ZKO2-3/K35 o A letter sent to the following address: Digital Equipment Corporation Languages Documentation, ZKO2-3/K35 110 Spit Brook Road Nashua, NH 03062-2698 USA Field Test Sites The DIGITAL 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 product-a DIGITAL COBOL that does more of what programmers need to produce applications for today's data processing. viii 1 _________________________________________________________________ Preparing for DIGITAL COBOL Installation Your distribution kit includes a letter titled Read Before Installing or Using DIGITAL COBOL Version 2.5 for DIGITAL UNIX Systems. The letter describes important information that might not be included in this guide. You should read this letter now. 1.1 Reading the Online Release Notes DIGITAL COBOL provides online release notes. DIGITAL strongly recommends that you read the release notes before installing the product. The release notes may contain information about changes to the application. The release notes for DIGITAL COBOL are in the following file: /usr/lib/cmplrs/cobol/relnotes For information about installing these release notes before installing DIGITAL COBOL, see Section 2.3.1. You can use the following command to read the release notes after DIGITAL COBOL is installed: # more /usr/lib/cmplrs/cobol/relnotes 1.2 Registering Your Software License DIGITAL COBOL includes support for the License Management Facility (LMF). You must register your License Product Authorization Key (License PAK) in the License Database (LDB) to use DIGITAL 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. Preparing for DIGITAL COBOL Installation 1-1 If you are installing DIGITAL 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 DIGITAL COBOL, review the PAK status and install the PAKs for any prerequisite or optional software before you install DIGITAL COBOL. To register a license on the DIGITAL 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 Guide to Software License Management and the lmf(8) reference page. 1.3 Checking the Software Distribution Kit Use the Bill of Materials (BOM) to check the contents of your DIGITAL COBOL software distribution kit. In addition to this guide, the software distribution kit includes the following: o A CD-ROM optical disk for systems with optical disk drives o A CD-ROM user guide and CD-ROM read first letter If your software distribution kit is damaged or incomplete, contact your DIGITAL representative. 1-2 Preparing for DIGITAL COBOL Installation 1.4 Checking Installation Procedure Requirements This section describes various requirements for installing DIGITAL COBOL. Installing DIGITAL 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 DIGITAL COBOL software and to register the license PAK. 1.4.2 Checking Hardware Requirements To install DIGITAL COBOL, you need the following hardware: o Software distribution device (if installing from media) Locate the CD-ROM drive for the CD-ROM software distribution media. The CD-ROM user guide or the documentation for the CD-ROM drive that you are using explains how to load the CD-ROM 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 DIGITAL COBOL Software Product Description (SPD) for additional hardware requirements. 1.4.3 Checking Software Requirements DIGITAL COBOL Version 2.5 requires the operating system DIGITAL UNIX Version 3.2G or higher. (Future DIGITAL COBOL releases may require higher versions. See the Read Before Installing letter or the online release notes for information about the minimum version of the operating system required.) To check the version of DIGITAL UNIX installed on your system, enter the following command: # uname -r The system will respond with the version number of the installed operating system. Preparing for DIGITAL COBOL Installation 1-3 DIGITAL COBOL also requires that the following DIGITAL UNIX software subsets be loaded on the system where you install DIGITAL COBOL: o OSFBASE-The Base System subset o OSFCMPLRS-Compiler Back End o OSFPGMR-Software Development Environment o DFARTL-DEC Fortran Run-Time Libraries o SORLIB[1]-SORT Run-Time Library ________________________ Note ________________________ DIGITAL COBOL also requires that screen handling software is loaded on the system. This software is found in /usr/shlib/osf.1/libcurses.so. In versions of DIGITAL UNIX prior to V4.0D, this software is part of the OSFBASE subset. Subsequent versions of DIGITAL UNIX supply this software in the optional subset OSFOBSOLETE. If your system is V4.0D and you do not have the above file, you will have to install the OSFOBSOLETE subset. Otherwise, DIGITAL COBOL programs will not load or run correctly, and the following warning will be seen at load time: ld: Warning version mismatch for shared library libcurses.so a.out depends on version xpg4 and libcob.so depends on version osf.1 ______________________________________________________ To check whether these subsets are loaded, follow these steps: 1. Log in to the system where you will install DIGITAL COBOL. 2. Enter the following command: # setld -i | egrep 'OSFBASE|OSFCMPLRS|OSFPGMR|DFARTL|SORLIB' ____________________ [1] See the DIGITAL UNIX Installation Guide Appendix C, Additional Subsets for more information. 1-4 Preparing for DIGITAL COBOL Installation 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|OSFCMPLRS| . . . ' 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 DIGITAL UNIX software before installing DIGITAL COBOL. (For information on how to load the operating system software, see the DIGITAL UNIX installation guide.) 1.4.4 Determining Which Subsets to Load You must choose the DIGITAL COBOL subsets you want to load. The DIGITAL COBOL subsets have the following titles: o DCABASE250 DIGITAL COBOL Version 2. for DIGITAL UNIX Systems o DCADOC250 DIGITAL COBOL Version 2.5 Release Notes o DCAMAN250 DIGITAL COBOL Version 2.5 Reference Page o DCARTL250 DIGITAL COBOL Run-Time Support Library o O2ABASE250 DIGITAL COBOL Decimal Run-Time Support 1.4.5 Determining Disk Space Requirements Table 1-1 lists the disk space requirements for loading DIGITAL COBOL software. These requirements apply to the disks where you load the DIGITAL COBOL subsets. The requirements are listed by directory for convenience if you are doing installations on systems where these directories are mount points for different disk partitions. Preparing for DIGITAL COBOL Installation 1-5 Table_1-1_DIGITAL_COBOL_Directory_Sizes_(Kilobytes_Required)_____ Subset_Name______Directory_____________Size_(Kbytes)_____________ DCARTL250 /usr 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs 2065 /cobolrtl_250 /usr/lib/nls 1 /usr/lib/nls/msg 1 /usr/lib/nls/msg 1 /en_US.88591 /usr/shlib 1 Total 2070K O2ABASE250 /usr 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs 1464 /o2abase_250 Total 1465K DCABASE250 /usr 1 contains DCADOC250 and DCAMAN250 /usr/lib/cmplrs 1 /usr/lib/cmplrs 5769 /cobol_250 /usr/share 1 /usr/share/man 1 /usr/share/man/man1 1 Total 5763K GRAND_TOTAL____________________________9308K_____________________ Appendix B shows a further breakdown of files that will be installed on your system by this installation. Using the disk space requirements from Table 1-1 as guidelines, total the values for the subsets you will load in each directory. 1-6 Preparing for DIGITAL COBOL Installation Compare the suggested space required for subsets with the free space currently on the disks where DIGITAL COBOL files will reside. 1.4.5.1 Checking Current Disk Space To check the current amount of free space for a directory path, log in to the system where you will install DIGITAL 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 DIGITAL 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. To check the total space and the free space for the directories where DIGITAL 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 -k /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 Kbytes 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 DIGITAL 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 DIGITAL COBOL files in /usr/man to the free space displayed in the second line of that list. Preparing for DIGITAL COBOL Installation 1-7 1.4.5.2 Increasing Disk Space by Using Alternative Disks The DIGITAL COBOL installation procedure creates some directories and loads files into subordinate directories, as listed in /usr/lib/cmplrs/cobol/filelist. 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 DIGITAL 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 DIGITAL COBOL: 1. Log in as superuser. 2. Create the directory /usr/lib/cmplrs, /usr/lib/cmplrs /cobol_nnn, or both (in this guide, nnn is the DIGITAL 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 the new mount points take effect. 1.5 Installing from Media or Using RIS Someone from your site must perform at least one DIGITAL COBOL installation from the distribution medium. Your site system manager can then decide whether or not to make a DIGITAL COBOL distribution kit available on line so that subsequent installations of DIGITAL COBOL can use the Remote Installation Service (RIS). For information on extracting DIGITAL COBOL subsets to a RIS distribution area, see the Guide to Sharing Software on a Local Area Network. If you expect to use DIGITAL COBOL subsets from the RIS area of a remote system for installation on your local system, first check with your site system manager to ensure that: o A DIGITAL COBOL network kit is available for use. 1-8 Preparing for DIGITAL COBOL Installation o Your system is registered as a RIS client. If DIGITAL COBOL subsets are available to you on a RIS server system, you must know the name of that system. For more information on installing DIGITAL COBOL from a RIS distribution area, see Section 2.2. 1.6 Backing Up Your System Disk DIGITAL recommends that you back up your system disk before installing any software. For information about backing up your system disk, see the DIGITAL UNIX system documentation. 1.7 Stopping the Installation To stop the installation procedure at any time, press Ctrl /C. You must then interactively delete files created up to this point. The directories and files created during the DIGITAL COBOL installation are listed in the following file: /usr/lib/cmplrs/cobol/filelist Preparing for DIGITAL COBOL Installation 1-9 2 _________________________________________________________________ Installing DIGITAL COBOL Before you start the installation, read Chapter 1. You can install DIGITAL COBOL from a server area. If you encounter any failures during installation, see Appendix C. 2.1 Using CD-ROM Consolidated Distribution Media This procedure loads DIGITAL COBOL files on to a disk belonging to the system where you perform the installation. When DIGITAL COBOL is run, its executable images are mapped into memory on your system. Follow these steps to install DIGITAL 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 DIGITAL 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. For example, 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 DIGITAL COBOL subsets are located: # setld -l /cdrom/AXP/DCA250/bin The installation procedure now displays the names of DIGITAL COBOL subsets and asks you to specify the subsets that you want to load. Installing DIGITAL COBOL 2-1 See Section 2.3 to continue the installation. 2.2 Using a RIS Distribution Area If you are installing DIGITAL 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 DIGITAL 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 DIGITAL COBOL subsets are located. For example, if you are loading DIGITAL COBOL subsets from a 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 the software 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 DIGITAL COBOL subsets you want to load. ________________________ Note ________________________ If you are installing from a RIS distribution area, the number of subsets can vary depending on what products are available in the RIS area and how many subsets they have. ______________________________________________________ 2-2 Installing DIGITAL COBOL The following example shows a display where all DIGITAL COBOL subsets are being loaded from CD-ROM: *** Enter Subset Selections *** 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) DIGITAL COBOL RTL V2.5 for DIGITAL UNIX 2) DIGITAL COBOL V2.5 Reference Pages 3) DIGITAL COBOL V2.5 Release Notes 4) DIGITAL COBOL V2.5 for DIGITAL UNIX 5) DIGITAL Decimal RTL V2.4 for DIGITAL UNIX Or you may choose one of the following options: 6) ALL of the above 7) CANCEL selections and redisplay menus 8) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): 6 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. For example, if you enter 6 in response to the previous prompt, you will see the following display: You are installing the following optional subsets: DIGITAL COBOL RTL V2.5 for DIGITAL UNIX DIGITAL COBOL V2.5 Reference Pages DIGITAL COBOL V2.5 Release Notes DIGITAL COBOL V2.5 for DIGITAL UNIX DIGITAL Decimal RTL V2.4 for DIGITAL UNIX Is this correct? (y/n): y 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. Installing DIGITAL COBOL 2-3 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 DIGITAL 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. 2-4 Installing DIGITAL COBOL 3 _________________________________________________________________ After Installation This chapter explains what you need to do after the installation to make DIGITAL COBOL ready for use and how to delete old DIGITAL COBOL subsets. 3.1 Running the Installation Verification Procedure After you install DIGITAL 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 DIGITAL COBOL. The DIGITAL COBOL IVP verifies the installation by means of the fverify command with the -y option (see the fverify(8) reference page). The IVP performs various functions for the following files: DCABASEnnn compiles, loads, and runs a DIGITAL COBOL program DCARTLnnn verifies that the run-time libraries exist To run the IVP after an installation, enter the following command: # setld -v subsetname In this command, subsetname can be any DIGITAL COBOL subset. For a sample DIGITAL COBOL IVP, see Section A.2. If the verification process fails, look in the /var/adm /smlogs/fverify.log file for information to help diagnose the problem. After Installation 3-1 3.2 Deleting a Version of DIGITAL COBOL from Your System If you must remove a version of DIGITAL COBOL from your system, delete each subset that you previously installed. 3-2 After Installation 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 | grep "DIGITAL COBOL" 4. Look for the word "installed" in the listing produced. Then delete the installed subsets. For example, to delete the Run-Time Support Library and Decimal Run-Time Support for DIGITAL COBOL Version 2.4, enter: # setld -d DCARTL240 O2ABASE240 After Installation 3-3 A _________________________________________________________________ Sample Installation and Verification The following sections show the result of a sample installation of DIGITAL COBOL. Depending on which layered products you have on your system, you might see additional messages and questions when you perform your installation. The sample listings are as follows: o An installation of DIGITAL COBOL using disk media o An Installation Verification Procedure (IVP) A.1 Sample DIGITAL COBOL Installation Example A-1 is a log file of a sample installation of DIGITAL COBOL Version 2.5. Example A-1 Sample DIGITAL COBOL Installation # 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) DIGITAL COBOL RTL V2.5 for DIGITAL UNIX 2) DIGITAL COBOL V2.5 Reference Pages 3) DIGITAL COBOL V2.5 Release Notes 4) DIGITAL COBOL V2.5 for DIGITAL UNIX 5) DIGITAL Decimal RTL V2.4 for DIGITAL UNIX Or you may choose one of the following options: (continued on next page) Sample Installation and Verification A-1 Example A-1 (Cont.) Sample DIGITAL COBOL Installation 6) ALL of the above 7) CANCEL selections and redisplay menus 8) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): 6 You are installing the following optional subsets: DIGITAL COBOL RTL V2.5 for DIGITAL UNIX DIGITAL COBOL V2.5 Reference Pages DIGITAL COBOL V2.5 Release Notes DIGITAL COBOL V2.5 for DIGITAL UNIX DIGITAL Decimal RTL V2.4 for DIGITAL UNIX Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. 5 subset(s) will be installed. Loading 1 of 5 subset(s).... DIGITAL Decimal RTL V2.4 for DIGITAL UNIX Copying from . (disk) Verifying Loading 2 of 5 subset(s).... Copyright Digital Equipment Corporation 1992,1998. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from DIGITAL or an authorized sublicensor. (continued on next page) A-2 Sample Installation and Verification Example A-1 (Cont.) Sample DIGITAL COBOL Installation DCABASE250: warning: Be *sure* to install the DIGITAL COBOL RTL for DIGITAL UNIX (DCARTL) before running the IVP (setld -v) and trying to use DIGITAL COBOL (DCABASE). DIGITAL COBOL V2.5 for DIGITAL UNIX Copying from . (disk) Verifying Loading 3 of 5 subset(s).... DIGITAL COBOL V2.5 Release Notes Copying from . (disk) Verifying Loading 4 of 5 subset(s).... DIGITAL COBOL V2.5 Reference Pages Copying from . (disk) Verifying Loading 5 of 5 subset(s).... Copyright Digital Equipment Corporation 1992,1998. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from DIGITAL or an authorized sublicensor. DIGITAL COBOL RTL V2.5 for DIGITAL UNIX Copying from . (disk) Verifying 5 of 5 subset(s) installed successfully. Configuring "DIGITAL Decimal RTL V2.4 for DIGITAL UNIX" (O2ABASE250) O2ABASE250, information: Shared library correctly installed. (continued on next page) Sample Installation and Verification A-3 Example A-1 (Cont.) Sample DIGITAL COBOL Installation DCABASE250, information: You can run the Installation Verification Procedure using the following command from root: setld -v DCABASE250 Configuring "DIGITAL COBOL V2.5 for DIGITAL UNIX" (DCABASE250) DCADOC250, information: The release notes are in /usr/lib/cmplrs/cobol/relnotes Configuring "DIGITAL COBOL V2.5 Release Notes" (DCADOC250) Configuring "DIGITAL COBOL V2.5 Reference Pages" (DCAMAN250) Configuring "DIGITAL COBOL RTL V2.5 for DIGITAL UNIX" (DCARTL250) DCARTL250, information: DIGITAL COBOL RTL Shared libraries installed. # A.2 Sample DIGITAL COBOL Installation Verification Example A-2 shows a sample installation verification of DIGITAL COBOL Version 2.5. Example A-2 Sample DIGITAL COBOL Installation Verification # setld -v DCABASE250 DIGITAL COBOL V2.5 for DIGITAL UNIX (DCABASE250) DCABASE250, information: Copyright (c) Digital Equipment Corporation 1994, 1998. All rights reserved. Government notice: Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. Licensing notice: (continued on next page) A-4 Sample Installation and Verification Example A-2 (Cont.) Sample DIGITAL COBOL Installation Verification This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. DCABASE250: Starting Installation Verification Procedure (IVP). If this fails, please include the following when submitting a report: 1) This subset name, which is DCABASE250 2) Output from: ls -l /tmp/DCABASE250.ivptmp 3) This setld session IVP, information: Emptied scratch directory. IVP, information: Compiling and linking. IVP, information: Running. IVP, Info: DIGITAL COBOL for DIGITAL UNIX IVP Successful. IVP, information: Execution successful. IVP, information: Cleaning up. IVP, information: DCABASE250 is properly installed. # Sample Installation and Verification A-5 B _________________________________________________________________ Files Installed on Your System Table B-1 briefly describes the DIGITAL COBOL files installed on your system. Table_B-1_Installed_DIGITAL_COBOL_Files__________________________ Size Directory___________(KBytes)File______Description________________ usr/bin: 1 cobol Symbolic link to the DIGITAL COBOL Version 2.5 compiler driver usr/lib: 1 libcob.a Symbolic link to the DIGITAL COBOL Version 2.5 RT Support Library libots.a Symbolic link to the DIGITAL Compiled Code Support Library libots2.a Symbolic link to the DIGITAL Decimal RT Support Library libisam.a[Symbolic link to ISAM Stub Library libtps_ Symbolic link to Libtps stub.a Stub Library usr/lib/cmplrs: 1 cobol Symbolic link to the DIGITAL COBOL Version 2.5 directory cobol_ DIGITAL COBOL Version 2.5 250 directory [1]Installed_only_if_your_system_does_not_have_C-ISAM_installed._ (continued on next page) Files Installed on Your System B-1 Table_B-1_(Cont.)_Installed_DIGITAL_COBOL_Files__________________ Size Directory___________(KBytes)File______Description________________ cobolrtl Symbolic link to the DIGITAL COBOL Version 2.5 RT Support Library directory cobolrtl_ DIGITAL COBOL Version 250 2.5 RT Support Library directory o2abase Symbolic link to the Decimal RT Support Library directory o2abase_ DIGITAL Decimal RT Support 250 Library directory usr/lib/cmplrs 5900 cobol DIGITAL COBOL Version 2.5 /cobol_250: Compiler Driver cobol.1 DIGITAL COBOL Version 2.5 Reference Page dcobol DIGITAL COBOL Version 2.5 for DIGITAL UNIX Systems filelist List of files contained on DIGITAL COBOL Version 2.5 kit relnotes DIGITAL COBOL Version 2.5 Release Notes reformat DIGITAL COBOL Source Code Formatter usr/lib/cmplrs 1400 cob_ DIGITAL COBOL Version 2.5 /cobolrtl_250: msg.cat RT Support message catalog libcob.so DIGITAL COBOL Version 2.5 Shared RT Support Library libisam_ DIGITAL ISAM Stub Library stub.a[1] [1]Installed_only_if_your_system_does_not_have_C-ISAM_installed._ (continued on next page) B-2 Files Installed on Your System Table_B-1_(Cont.)_Installed_DIGITAL_COBOL_Files__________________ Size Directory___________(KBytes)File______Description________________ libtps_ tps Stub Library stub.a libcob.a DIGITAL COBOL Version 2.5 RT Support Library usr/shlib: libcob.so Symbolic link to DIGITAL COBOL Version 2.5 Shared RT Support Library libots.so Symbolic link to DEC Compiled Code Support Library libots2.soSymbolic Link to the DIGITAL COBOL Compiled Code Library usr/lib/nls/msg 1 cob_ Symbolic link to DIGITAL /en_US.88591: msg.cat COBOL Version 2.5 RT Support Message Catalog usr/lib/cmplrs 1500 libots2.a DEC Decimal RT Support /o2abase_250: Library libots2.soDIGITAL COBOL Shared Compiled Code Library usr/share/man 1 cobol.1 Symbolic link to the /man1: DIGITAL COBOL Version 2.5 ______________________________________Reference_Page_____________ Files Installed on Your System B-3 C _________________________________________________________________ Recovering from Errors This appendix provides information to help you deal with failures or errors that might occur during product installation or product use. C.1 Failures During Product Installation If errors occur during the installation, the system displays failure messages. For example, if the installation fails due to insufficient disk space, the following message appears: There is not enough space for subset DCABASE250 DIGITAL COBOL DCABASE250 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 DIGITAL UNIX documentation on system messages, recovery procedures, and software installation. For information on system software requirements, see Section 1.4.3. Recovering from Errors C-1 C.2 Failures During DIGITAL COBOL Use If you encounter a problem while using DIGITAL COBOL, see the section on Troubleshooting Tips in the release notes. If the problem is unresolved, report it to DIGITAL. Depending on the type of support you have and the nature of the problem, take one of the following actions: o If you have a Software Product Services Support Agreement, contact your DIGITAL Customer Support Center (CSC), either by telephone or using the electronic means provided with your support agreement (such as DSNlink). The CSC provides telephone support for high-level advisory and remedial assistance. When you initially contact the CSC, please indicate the following: - The name ( DIGITAL UNIX) and the version number of the operating system you are using - The product name (DIGITAL COBOL) and the version number of DIGITAL COBOL you are using - The hardware system you are using, such as a model number - A very brief description of the problem (one sentence if possible) - How critical the problem is When you submit information electronically or are speaking on the phone to the appropriate DIGITAL 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. CSC personnel may ask for additional information, such as listings of any command files, INCLUDE 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 (floppy diskette or magnetic tape). C-2 Recovering from Errors o If you should find errors in this manual or if you want to comment on the documentation, please send the manual title, order number, and your comments by one of the following methods: - Electronic Internet mail: cobol_docs@bookie.enet.dec.com - Fax: 603-881-0120 Attn: Languages Documentation, ZKO2-3 /K35 - A letter sent to the following address: Digital Equipment Corporation Languages Documentation, ZKO2-3/K35 110 Spit Brook Road Nashua, NH 03062-2698 USA Recovering from Errors C-3