You can use the Save Action preference
page to configure actions performed by the COBOL Editor when saving
a file.
Procedure
- Click .
- Click Perform the selected actions on save to perform
the specified save options for source and copybook files.
- Click Remove trailing whitespace to
remove whitespace characters from the end of the text line during
a save.
- Click Format source code to enable
one or more options for just source files.
- Click Apply all formatting options for
all Formatter preferences to be performed during
a save.
- Click Apply only capitalization options for
options related to capitalization to be performed during a save.
- Click Identify unreachable code to
identify unreachable code within the file.
- In the Copybook Files section, click Remove
trailing whitespace to remove whitespace characters from
the end of the text line when saving copybook files.
- Click Format copybook code to apply
format options when saving copybook files.