PreviousIntroduction Compatibility with DG Interactive COBOLNext

Chapter 2: Compatibility Directives

This COBOL system provides compatibility with:

Compatibility is provided through the use of Compiler directives.

Net Express:
See the Compiler Directives help for full details of all Compiler directives, and the features they enable.

Server Express:
See your Server Express User Guide for full details of all Compiler directives, and the features they enable.

2.1 DG

Changes the behavior of certain features to be compatible with Data General Interactive COBOL rev 1.30.

>>---.----+----DG-----><
     .-NO-.
Parameters:

None

Properties:
Default: NODG
Phase: Syntax check
$SET:

Initial

Comments:

See the Language Reference help for details of syntax support for Data General Interactive COBOL rev 1.30.

2.2 RM

Specifies that words reserved in Ryan-McFarland COBOL V2.0 are to be regarded as reserved words, and changes the behavior of certain features to be compatible with that COBOL system.

>>------.---------RM--"ANSI"--.-----><
        .--.----.-RM----------+
           .-NO-+
Parameters:
ANSI See Comments
Properties:
Default: NORM
Phase: Syntax check
$SET: Initial
Dependencies:

RM sets SEQUENTIAL"LINE", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE, RETRYLOCK and ALIGN"2" immediately.

RM"ANSI" sets SEQUENTIAL"RECORD", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE, RETRYLOCK and ALIGN"2" immediately.

NORM sets SEQUENTIAL"RECORD", TRUNC"ANSI", NOOLDINDEX, OPTIONAL-FILE, NORETRYLOCK and ALIGN"8" immediately.

Comments:

With the ANSI parameter these features behave as they do when a program is compiled in that COBOL system with the ANSI switch set. See your Language Reference.


Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousIntroduction Compatibility with DG Interactive COBOLNext