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.
Note: The
qdemo.cbl supplied with the demo files sets the directive explicitly in the source code already, so these steps are not essential; although, they are good practice if you were adding further source files to your project, as you would not have to then explicitly set the directive in the new source files each time.
-
Right-click your project in the COBOL Explorer view and select
Properties.
The
Properties for <project-name> dialog box appears.
-
Select
.
The COBOL settings appear in the right-hand pane.
-
In the
Language Dialect field, select
RM/COBOL.
-
Click
OK.
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.