>>-.---.-.-------RM--"parameter"-.-------------->< +-/-+ +.----.-RM--------------+ +-NO-+
Default: | NORM |
Phase: | Syntax check |
$SET: | Initial |
DIALECT"RM" sets RM"ANSI" immediately.
RM sets COMP-6"1", DISPLAY"CRT", SEQUENTIAL"LINE", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE, RETRYLOCK and ALIGN"2 FIXED" immediately.
RM also behaves as if the following syntax is set:
sign trailing separate
for signed numeric data items, and:
lock mode is automatic
for each file in the program which has no explicit locking syntax declared.
RM"ANSI" sets COMP-6"1", SEQUENTIAL"RECORD", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE, RETRYLOCK and ALIGN"2 FIXED" immediately.
RM"ANSI" also behaves as if the following syntax is set:
sign trailing included
for signed numeric data items, and:
lock mode is automatic
for each file in the program which has no explicit locking syntax declared.
NORM sets COMP-6"2", SEQUENTIAL"RECORD", TRUNC"ANSI", NOOLDINDEX, OPTIONAL-FILE, NORETRYLOCK and ALIGN"8 OPT" immediately.
Comments:
For the fullest RM/COBOL behavior available, set DIALECT"RM", which also sets this directive.