If you set DIALECT"RM", the following Compiler directives are set:
ALIGN"4 FIXED" ASSIGN-PRINTER"" COMP"UNPACKED" COMP1"BINARY" COMP2"DECIMAL" COMP-5"1" COMP-6"3" COPYSEARCH"RM" COPYEXT",cbl,CBL" DEFAULTCALLS"1024" DISPLAY"CRT" NOFASTINIT FILETYPE"21" FILESHARE IBMCOMP IDXFORMAT"21" NOOLDINDEX NOOPTIONAL-FILE PARAMCOUNTCHECK PERFORM-TYPE"RM" RECMODE"RMCOBOL" RETRYLOCK RM"ANSI" SEQUENTIAL"RECORD" SIGN"TRAILING" SIGN"EBCDIC" NOTRUNC |
RM/COBOL does not have COMP-2 usage; the setting listed here is for completeness.
If your RM/COBOL application relies on the EXPANDED-PATH-SEARCH configuration option to locate files specified with a relative path name, you must override COPYSEARCH"RM" with the COPYSEARCH"RM-EXPANDED" Compiler directive for equivalent behavior.
An internal flag is set that supports the RM/COBOL feature of being able to specify any type of data item in the GIVING or RETURNING phrase of a CALL statement.
The LOCKING clause of the SELECT statement is set to LOCK MODE IS AUTOMATIC for all file types.
For IBMCOMP, only the subset of flags that cause word-storage mode for binary items in the same manner as RM/COBOL are set.
Although this directive sets RM"ANSI", it does not have the same effect as setting RM"ANSI" directly. Only when set directly, does RM"ANSI" set the additional directives specified in the RM Compiler directive topic.
If you configured RM/COBOL to use the SEQUENTIAL-FILE-TYPE=LINE option at compile time, you will need to add the SEQUENTIAL"LINE" directive after the DIALECT"RM" directive. Similarly, if you did not configure the RM/COBOL compiler sequential organization file default type but did configure the RM/COBOL run-time sequential organization file type with the DEFAULT-TYPE keyword of the RUN-SEQ-FILES configuration record identifier, you will need to add the SEQUENTIAL"LINE" directive after the DIALECT"RM" directive.
If you used the RM/COBOL compiler S option or the compiler configuration SEPARATE-SIGN=YES, you will need to add the SIGN"SEPARATE" directive after the DIALECT"RM" directive.