B

Compaq COBOL for OpenVMS VAX and

Compaq COBOL Compatibility and Migration

Compaq COBOL is based on and is highly compatible with Compaq COBOL for
OpenVMS VAX,which runs on the OpenVMS VAX system. However, there are
differences, which are summarized in this appendix. This information can help
you develop COBOL applications that are compatible with both products and
can help you migrate your Compaq COBOL for OpenVMS VAXapplications to
Compaq COBOL on the OpenVMS Alpha operating system, the Tru64 UNIX
operating system, or the Windows NT Alpha operating system.

B.1 Compatibility Matrix

Table B–1 shows the current (as of the date of publication of this manual) state of
compatibility for numerous features in Compaq COBOL Version 2.7 on its three
platforms and Compaq COBOL for OpenVMS VAXVersion 5.7. Always check
the Release Notes for the latest developments if there is a question about the
availability of a given feature.
Legend = Supported
N = Not supported
P = Partially supported
TableB–1 Cross-Platform Compatibility of COBOL Features
OpenVMS
VAX OpenVMS
Alpha Tru64
UNIX Windows NT
Alpha
ANSI-85/-89 HIGH
ANSI-85 REPORT WRITER
Standard arithmetic N P P P
Tablesort N
Tapehandling N
Segmented keys
/CHECK=DUPLICATE_KEYS NN
Relaxed key checking N N
RMS special registers NN
RMS APPLYextensions NN
/STANDARD=V3 PPP
ANSI-74 FILE STATUSsupport
(continued on next page)
Compaq COBOL for OpenVMS VAXand Compaq COBOL Compatibility and Migration B–1