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.

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

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

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

NORM sets COMP-6"2", 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 COBOL Language Reference.

You should be aware that when you use the RM directive, you need to manually link in the RMSTAT module, so that performance time is not adversely affected.

See Also: