Rational Developer for System z

Renaming a data item or procedure in a PL/I program

You rename a data item or procedure and references to that data item or procedure a PL/I program in the System z LPEX and PL/I editors.

About this task

The Rename action shows an information screen with the projected warnings and how many data items will be changed if the refactor action is committed. Optionally, another page is shown with a preview of what the source will look like compared to the original source after the refactor operation is accepted.

Procedure

  1. Select the data item or procedure name to be renamed, and right-click and click Rename.
  2. In the New name field, type the new name.
  3. Click OK to continue or click Preview to see the list of found problems affected by the change.
    Note: If Force preview is enabled, you must click Preview to continue.
  4. Click Continue to proceed with the action. If there are no problems, the Compare Editor opens and you can view the changes with the current content.
  5. Click OK for the changes to be made.

Feedback