Rational Developer for System z

Editor save actions

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.
When saving a file in the COBOL Editor, the following sequence occurs:
  1. Real-time syntax checking completed
  2. Formatting is applied to the file
  3. Trailing white spaces are removed
  4. File contents are saved
  5. Preprocessor statements are identified
  6. Unreachable code identified
A progress bar shows the status of the save process.

After the save action is complete, a single Undo command can be used to remove all formatting and white space removal changes.


Feedback