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-+ | ANSI | See Comments. |
| Default: | NORM (Dialect
) |
| Phase: | Syntax check |
| $SET: | Initial |
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.
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 - Additional Topics.
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.