The Save Actions features allows for selected actions to
occur automatically before and after a file is saved. The actions
performed are defined by the Save Actions preference.
You can specified save actions for the COBOL source file and copybooks
separately. If save actions is enabled, the actions performed during
a save are defined by
Formatter preference.
- For a COBOL file, the actions relate to indentation, capitalization,
and line length. You can select on the Save Actions preference
whether all formatting options or just the capitalization options
are automatically performed when saving. Additionally, the identify
unreachable code can be performed.
- For a copybook, the save actions include upper case of copybook
code and comments.
When saving a file in the COBOL Editor, the following sequence
occurs:
- Formatting is applied to the file
- File contents are saved
- Preprocessor statements are identified
A progress bar shows the status of the save process.