Set the DIALECT"RM" directive in the project's properties so that it applies to all programs within the project unless you
explicitly override it at the program level.
Right-click your project in the COBOL Explorer view and select
Properties for <project-name> dialog box appears.
The COBOL settings appear in the right-hand pane.
COBOL Dialect to
If the project contains any variable or literal names that are considered reserved words, you can use the REMOVE Compiler
directive to remove them from the reserved words list, thus allowing them to be used in the code: still in the same settings
pane, in the
value cell, click
and in the
dialog box, type
. Repeat this directive for each
. If you are required to remove a number of reserved words, you could store each REMOVE directive in a directives file (e.g.
), and then use the USE"rsvdwrds.dir
" directive to apply the directives all at once. This method is ideal if you need to remove the same reserved words from more
than one project.
Apply and Close.
The RM/COBOL dialect is applied to any program within the project, unless that program overrides it by setting the DIALECT
directive explicitly within the source code.