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

You can rename a data item or procedure and references to the data item or procedure a PL/I program.

About this task

The Rename action shows an information screen with the projected warnings and how many data items are 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.

Restriction: The following restrictions and limitations apply to the Rename action:
  • The Rename action does not recognize Pseudo SO/SI bytes included in DBCS strings.
  • The Remove noise words and Extract paragraph actions do not work when sequence numbers are present.
  • The Rename action does not work on DBCS variable names.
  • When errors are detected by real-time syntax checking, the Rename action is not available.

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 that are 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.