HP 3000 Manuals

Ch 1. Introduction [ HP COBOL II/XL Programmer's Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Programmer's Guide

Chapter 1  Introduction 
[REV BEG]

HP COBOL II/XL is Hewlett-Packard's implementation of the 1985 ANSI COBOL
standard (X3.23-1985) and the 1974 ANSI COBOL standard (X3.23-1974), the
COBOL programming languages that meet the 1985 and 1974 standards set by
the American National Standards Institute (ANSI). 

The HP COBOL II/XL compiler compiles COBOL'74 programs as well as
COBOL'85 programs.  When you invoke it through its ANSI74 entry point
(using the COB74XL command file), it accepts only syntax that conforms to
COBOL'74.  When you invoke it through its ANSI85 entry point (using the
COB85XL command file), it accepts the syntax of COBOL'85 plus the
intrinsic functions that were defined in 1989 by Addendum 1 of the ANSI
COBOL'85 standard.  The ANSI85 entry point is the default.[REV END]

Figure 1-1  shows the relationships between the two entry points of
the HP COBOL II/XL compiler and the two revisions of the ANSI standard,
COBOL'85 and COBOL'74: 

[]
Figure 1-1. Relationships between HP COBOL II/XL and the ANSI Standards COBOL'74 and COBOL'85 The HP COBOL II/XL product consists of a compiler, which translates HP COBOL II/XL programs into machine object files, and a run-time library. The object code that the compiler generates contains calls to routines in the run-time library[REV BEG] and, if intrinsic functions are used, to other languages' run-time libraries.[REV END] [REV BEG]
NOTE Hereafter in this manual, intrinsic functions will be referred to as COBOL functions.
[REV END] [REV BEG] Table 1-1 lists components of the HP COBOL II/XL product and describes their use. Table 1-1. Components of HP COBOL II/XL ----------------------------------------------------------------------------- | | | | File Name | Use | | | | ----------------------------------------------------------------------------- | | | | COBOL.PUB.SYS | The HP COBOL II/XL compiler. | | | | ----------------------------------------------------------------------------- | | | | in XL.PUB.SYS | The HP COBOL II/XL run-time library. | | | | ----------------------------------------------------------------------------- | | | | COBCNTL.PUB.SYS | Source file you can use to override the compiler | | | defaults for the compiler options. The compiler | | | automatically includes a file named | | | COBCNTL.PUB.SYS in each source textfile. | | | | ----------------------------------------------------------------------------- | | | | COB85XL.PUB.SYS | Command files you can use to compile, link, and | | COB85XLK.PUB.SYS | run HP COBOL II/XL programs. | | COB85XLG.PUB.SYS | | | COB74XL.PUB.SYS | | | COB74XLK.PUB.SYS | | | COB74XLG.PUB.SYS | | | | | ----------------------------------------------------------------------------- | | | | COBCAT.PUB.SYS | Error message catalog file used by the compiler | | | and the run-time library. | | | | ----------------------------------------------------------------------------- | | | | COBMAC.PUB.SYS | Macro file used by the run-time library to display | | | error information when a trap is detected. | | | | ----------------------------------------------------------------------------- | | | | COBEDIT.PUB.SYS | Program you can use to develop and maintain COPY | | | libraries. | | | | ----------------------------------------------------------------------------- [REV END]


MPE/iX 5.0 Documentation