Ch 21. Dialect Control Directives [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Compatibility Guide for the Series 700 and 800
Chapter 21 Dialect Control Directives
Key to Notation
The table displayed later in this section summarizes the directives that
turn on the reserved words for particular dialects. (See the appendices
to your Language Reference for a full list of the reserved words
activated by each directive.) It shows when each directive was
implemented, and what its default is in standard Micro Focus products.
This key contains the following sections:
* List of directives and the dialects they control
* Meaning of the entries
* Synonyms
List of Directives and the Dialects they Control
Directive Dialect
MF(1) MF-features level 1: those that were in Professional COBOL
V1.1
MF(2) MF-features level 2: EXECUTE, COMP-X and pointer variables
MF(3) MF-features level 3: mainly Screen Section ACCEPT/DISPLAY
MF(4) MF-features level 4: boxing screen items; END-ACCEPT
MF(5) MF-features level 5: system programming; dynamic
attributes
MS(1)* MS-features level 1: features from MS COBOL V1.0 MS(2)
MS-features level 2: features from MS COBOL V2.2 IBM-MS
Features from IBM COBOL V1.1 (a Microsoft product for the
IBM PC)
OSVS Features from IBM OS/VS COBOL
VSC2(1) Features from IBM VS COBOL II Release 1
VSC2(2) Features from IBM VS COBOL II Release 2
VSC2(3) Features from IBM VS COBOL II Release 3
ANS85** Features from ANSI 85 Standard COBOL
RW Report Writer, an optional module of the 1974 Standard
DG Features from DG Interactive COBOL
RM Features from the RM/COBOL 2 compiler
SAA Reserved words from SAA
* The IBM-MS and MS(1) dialects are the same, but the MS directive was
not introduced until VS COBOL V2.1. You can get MS(1) features by
setting the IBM-MS directive.
** With or without the (SYNTAX) option.
Meaning of the Entries
X Feature absent; no directive
OFF Directive off by default
Y Feature present; no directive
ON Directive on by default
Synonyms
In some products synonyms are available for some directives.
Usual Synonym Products
Directive
MF MFLEVEL All that contain the directive
DBCS JAPANESE MF COBOL/2 1.0 and 1.1
IBM-MS PC1 From VS COBOL V1.4 onwards
IBM-MS MS(1) From VS COBOL V2.1 onwards
Table of Dialect Control Directives
Directive Language Level When Introduced
LII 1.1 1.2 1.3 1.4 1.5 2.0 2.1 2.2
MF(1) Y Y Y ON ON ON ON ON ON
MF(2) X Y Y ON ON ON ON ON ON
MF(3) X X X ON ON ON ON ON ON
MF(4) X X X X X X OFF ON ON
MF(5) X X X X X X X X ON
MS(1) X X X X X X X OFF OFF
MS(2) X X X X X X X OFF OFF
IBM-MS X X X OFF OFF OFF OFF OFF OFF
OSVS X OFF ON ON ON ON ON OFF OFF
VSC2(1)* X OFF OFF OFF OFF OFF OFF OFF OFF
VSC2(2) X X X X X OFF OFF ON ON
VSC2(3) X X X X X X X X OFF
ANS85 X OFF OFF OFF OFF OFF OFF ON ON
COMS85 X X X X OFF OFF OFF ON ON
RW X X ON ON ON ON ON ON ON
DG X X X X X X OFF OFF ON
RM X X X X X X OFF OFF OFF
SAA X X X X X X X X OFF
* Enabled in 1.5 thru 2.1 by VSC2 OLDVSC2
MPE/iX 5.0 Documentation