The System z® LPEX
Editor and the COBOL Editor let you rename a data item or paragraph
and references to that data item or paragraph in a COBOL program.
Before you begin
Before you begin, you must open a file with the System z LPEX Editor or the COBOL Editor.
About this task
The Rename operation
shows an information screen with the projected warnings and how many
data items are going to be changed if the refactor operation 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.
The preview page shows the Rename function.
Procedure
To rename a data item or paragraph in your COBOL file,
complete the following steps:
- Select a data item or paragraph name, and right-click. A menu is displayed.
- Click .
- Type the new name, and perform one of the following actions:
- Click OK.
- Click Preview after optionally selecting Force
preview. A "Found problems" window
is displayed.
- If you clicked Preview in the previous
step, click Continue. A preview
window is displayed.
- Click OK.