Compaq Software Product Description ___________________________________________________________________ PRODUCT NAME: Compaq COBOL Version 2.8 for OpenVMS Alpha Systems SPD 45.92.13 DESCRIPTION Compaq COBOL for OpenVMS Alpha Systems is a high-level language for business data processing that operates on the OpenVMS Alpha Operat- ing System. Compaq COBOL (formerly named DEC COBOL) is based upon the 1985 ANSI COBOL Standard X3.23-1985 as modified by the X.23a-1989 amend- ment and is closely compatible with Compaq COBOL for OpenVMS VAX Sys- tems and Compaq COBOL for Tru64 UNIX. Compaq COBOL adheres to the high level by the National Bureau of Stan- dards for conformance to FIPS PUB 21-3, Federal Standard COBOL. Compaq COBOL includes various industry standard and Compaq extensions to COBOL, including screen handling at the source language level, file sharing, the ANSI Report Writer facility, and most X/Open features. The COPY FROM DICTIONARY statement, a Compaq COBOL extension, allows access to common record definitions stored in Oracle CDD/Repository for OpenVMS Alpha. Oracle CDD/Repository must be installed to use this feature. The Data Manipulation Language (DML), another Compaq COBOL extension, allows users to write programs that access DBMS databases using the Oracle DBMS database product. The optional Compaq COBOL DBMS program- ming license option as well as the Oracle CODAYSL DBMS product are re- quired to make use of these features. In addition, a separate manual, Compaq COBOL DBMS Database Programming, which describes the syntax and usage of the Oracle CODAYSL DBMS support, is available. November 2002 Compaq COBOL V2.8 for OpenVMS Alpha includes the following new func- tionality and documentation: o Run-time currency sign handling compatible with the draft ANSI-2002 standard o Enhanced support for extended (>65,535 bytes) alphanumerics o Enhanced support for RMS Journaling on OpenVMS Alpha o Run-time performance improvements with the reenabling of decimal shadowing o Unified documentation set for Compaq COBOL on VAX and Alpha sys- tems. For recent release specific technical information such as feature en- hancements, bug fixes, restrictions and compatibility charts, please refer to the Compaq COBOL V2.8 Release Notes. Compaq COBOL supports the industry-standard SCREEN SECTION (as spec- ified in the X/Open Portability Guide, Release 3). The SCREEN SECTION makes it easier and more efficient to design user-interface screens and to accept and display a full screen of data with a single ACCEPT statement and a single DISPLAY statement, instead of multiple state- ments. For added flexibility and for compatibility with Compaq COBOL for Open- VMS VAX Systems, the following additional Compaq extensions to COBOL are implemented in Compaq COBOL: o Screen handling is implemented using the DISPLAY and ACCEPT state- ments. The DISPLAY statement enables a programmer to display in- formation or prompts anywhere on a video screen. The ACCEPT state- ment takes information typed anywhere on the screen and returns the value to a running Compaq COBOL program. The DISPLAY statement con- verts data from internal numeric format to ASCII display format; and the ACCEPT WITH CONVERSION statement converts ASCII display in- put characters to internal numeric formats, as appropriate. The terminal- type is recognized at run time from information provided by the op- erating system. 2 o RMS-STS and RMS-STV special registers may be examined to assist de- bugging. These registers contain status values from the Record Man- agement System (RMS) for OpenVMS. o File sharing and record locking features enable more than one user to access data at the same time. o Many file capabilities are available through RMS, including exten- sions for descending keys and duplicate primary keys. o Conditional compilation serves to make debugging easier. o Source program terminal format recognition is supported. o ACCEPT support for 4-digit years. Compaq COBOL implements several statements designed to make program- ming easier in the OpenVMS environment: o CALL statement extensions: BY VALUE, BY DESCRIPTOR, OMITTED, and GIVING o VALUE IS EXTERNAL - Access to link time constants o USAGE IS POINTER - Address data type o VALUE IS REFERENCE - Compile time address evaluation o SET TO REFERENCE - Run-time address evaluation o SUCCESS/FAILURE - Class conditions Other extensions include: o 31-digit numeric user items and 32-digit intermediates o D-float, F-float, G-float, and IEEE floating point handling o X/Open SCREEN SECTION o X/Open specified RETURN-CODE special register o X/Open specified ASSIGN TO syntax o X/Open file sharing and record locking features 3 o X/Open command line and logical names support via ACCEPT and DIS- PLAY o X/Open LINE SEQUENTIAL o Enhanced support for "foreign" extensions with improved diagnos- tic messages The Compaq COBOL compiler produces an object module from a source pro- gram. The compiler is capable of producing a source listing with em- bedded diagnostics indicating the line and position of a source-code error, a machine language listing, a file-name map, a data-name map, a procedure-name map, an external program name map, and a cross-reference listing. The cross-reference listing and maps may be produced in ei- ther alphabetical order or in order of declaration. The cross-reference listing distinguishes destructive references to data from read-only references. Compaq COBOL provides support for error diagnostics and cross-reference information to Compaq Language-Sensitive Editor/Source Code Analyzer for OpenVMS Alpha. Object modules produced by the compiler can be linked with other ob- ject modules produced by many other languages, including Compaq C and Compaq Fortran. Compaq COBOL is supported by both the OpenVMS Alpha Run-Time Libraries and the OpenVMS Debugger. The Compaq COBOL product includes a COBOL compiler and the REFORMAT utility. The REFORMAT utility converts source programs from Compaq ter- minal format to ANSI-standard COBOL format and vice versa. Run-Time Library Redistribution The Compaq COBOL kit includes updated Run-Time Library shareable im- ages. Compaq grants the user a nonexclusive, royalty-free, worldwide right to reproduce and distribute the executable version of the run- time libraries designated as DEC$COBRTL.EXE and LIBOTS2.EXE (the "RTLs") for Compaq COBOL on the OpenVMS Alpha platform, provided that the user: 4 o Distributes the RTLs only in conjunction with and as a part of the user's software application product that is designed to operate in the OpenVMS environment. o Does not use the Compaq name, logo, or trademarks to market the user's software application product. o Includes the Compaq copyright notice for Compaq COBOL on the user's product disk label and on the title page of the documentation for software application product. o Agrees to indemnify, hold harmless, and defend Compaq from and against any claims or lawsuits, including attorney's fees, that arise or result from the use or distribution of the software application prod- uct. Except as expressly provided herein, Compaq grants no implied or express license under any of its patents, copyrights, trade se- crets, trademarks, or any license or other proprietary interests and rights. HARDWARE REQUIREMENTS Any Alpha system that is capable of running OpenVMS Alpha V6.2 or higher. Disk Space Requirements (Block Cluster Size = 1) Disk space required for 26,000 blocks installation: (13 MB) Disk space required for 22,000 blocks permanent use: (11 MB) These block counts refer to the disk space required on the system disk. The sizes are approximate; actual sizes may vary depending on the user's system environment, configuration, and software options selected. 5 OPTIONAL HARDWARE A VT100 family, VT200 family, VT300 family, or VT400 family terminal is required for the screen handling extensions to the ACCEPT and DIS- PLAY statements. SOFTWARE REQUIREMENTS OpenVMS Alpha Operating System Version 6.2-Version 7.3-1 (SPD 25.01.xx) SOFTWARE LICENSING This software is furnished only under a license. For more information about licensing terms and policies of Compaq, contact your local Com- paq office. License Management Facility Support This layered product supports the OpenVMS Alpha License Management Fa- cility. License units for this product are allocated on an Unlimited System Use plus Personal and Concurrent Use basis. Each Personal Use license allows one identified individual to use the layered product. Each Concurrent Use license allows any one individ- ual at a time to use the layered product. For more information on the License Management Facility, refer to the OpenVMS Operating System for VAX and Alpha Software Product Descrip- tion (SPD 25.01.xx) or the OpenVMS Alpha Operating System documenta- tion. CLUSTER ENVIRONMENT This layered product is fully supported when installed on any valid and licensed OpenVMS Cluster configuration without restrictions. The HARDWARE REQUIREMENTS section of this product's Software Product De- scription detail any special hardware required by this product. 6 OpenVMS Cluster configurations are fully described in the Compaq OpenVMS Cluster Software Product Description (29.78.xx) and include CI, Ethernet, DSSI, FDDI, SCSI, and Mixed Interconnect configurations. OpenVMS Tailoring The following OpenVMS classes are required for full use of features of this layered product: o OpenVMS Required Save Set o Programming Support o Utilities For more information on OpenVMS classes and tailoring, refer to the OpenVMS Operating System for VAX and Alpha Software Product Descrip- tion (SPD 25.01.xx). OPTIONAL SOFTWARE Compaq Language-Sensitive Editor/Source Code Analyzer (LSE/SCA) Ver- sion 4.7 (included in Compaq DECset Version 12.4) for OpenVMS Alpha Systems (SPD 42.29.xx). Required to use /ANALYSIS_DATA qualifier or Language-Sensitive Ed- itor Component. Oracle CDD/Repository Required to use Compaq COBOL COPY FROM DICTIONARY Feature. Oracle CODASYL DBMS Required to use Data Manipulation Language (DML) extensions. 7 GROWTH CONSIDERATIONS The minimum hardware/software requirements for any future version of this product may be different from the requirements for the current version. Note: A version update represents a complete distribution media replace- ment for the previous release of Compaq COBOL. All user-developed source modules that comprise an application must be recompiled and rebuilt using only Compaq COBOL software for that version update. Individual components of Compaq COBOL software from the latest version update can- not be used in conjunction with components from a previous version. DISTRIBUTION MEDIA This product is distributed on the OpenVMS Alpha Software Layered Prod- ucts Library Package (QA-03XAA-H8). Online only documentation is dis- tributed on the OpenVMS Alpha Online Documentation Library (QA-4KM8A- G8), and binaries only are distributed on the OpenVMS Alpha Software Products Library (QA-4KL8A-A8). These CD-ROMs contain the Compaq COBOL for Alpha OpenVMS Systems software binaries and online documentation in HTML or PDF format. The Compaq COBOL for OpenVMS Alpha Systems Doc- umentation is also available in hard copy, which can be ordered sep- arately. SOFTWARE WARRANTY This software is provided by Compaq with a 90 day conformance warranty in accordance with the Compaq warranty terms applicable to the license purchase. The above information is valid at time of release. Please contact your local Compaq office for the most up-to-date information. 8 ORDERING INFORMATION Compaq COBOL for OpenVMS Alpha Systems Software Licenses: Personal Use: QL-099AA-2B Concurrent Use: QL-099A*-3* Unlimited System Use: QL-0JUA*-** Software Documentation (Hard Copy): QA-0JUA*-GZ Software Product Services: QT-0JUA*-** Compaq COBOL DBMS Support Option for OpenVMS Alpha Systems Software Licenses: Concurrent Use: QL-355A*-3* Unlimited System Use: QL-355A*-** Software Documentation (Hard Copy): QA-355A*-GZ * Denotes variant fields. For additional information on available li- censes, services, and media, refer to the appropriate price book. SOFTWARE PRODUCT SERVICES A variety of service options are available from Compaq. For more in- formation, contact your local Compaq office. © 2002 Compaq Information Technologies Group, L.P. The Compaq logo, AlphaServer, OpenVMS, and VAX are trademarks of Com- paq Information Technologies Group, L.P. in the U.S. and/or other coun- tries. UNIX and X/Open are trademarks of The Open Group in the U.S. and/or other countries. All other product names mentioned herein may be trademarks of their respective companies. 9 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 Tech- nical 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 docu- ment 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 ad- ditional warranty. 10