Rational Developer for System z

Removing specified unnecessary words from a COBOL program

In the System z® LPEX Editor and the COBOL Editor, you can remove specified unnecessary words from a COBOL program. The words, IS, THEN, and PROCEED TO are not necessary in the COBOL source. They are considered "noise" words. Removing these words from the source has no effect on compiling the program.

Procedure

  1. Right-click in the editor window to open the pop-up menu.
  2. Click Refactor > Remove Noise Words.
  3. Select the one or more of the following noise words that you want to remove.
    • IS
    • THEN
    • PROCEED TO
  4. You can select Force preview. If you select this action, you must click Preview, before your changes can be saved.
  5. Click Preview to see changes , which provides a summary of the action you requested. You will have the option to return and modify your selection or to continue. If you click Continue the actual changes are shown.
  6. Click OK.

Feedback