
B-63784EN-1/01 OPERATION 8.EDITING PROGRAMS
- 269 -
Replacing all the occurrences of an address without confirmation
Procedure
Method 1
(1) Press the [ALTER] soft key.
(2) Key in the address to be replaced.
(3) Press the [(ADDRESS)] soft key.
(4) Key in a new address.
(5) Press the [EXEC] soft key.
The system searches for the first occurrence of the address
and the cursor is positioned to the address.
(6) Press the [EXEC] soft key.
All the occurrences of the address to be replaced are
replaced.
(7) To end the replacement prior to the end of the search, press
the [STOP] soft key.
(8) When the replacement ends, the total number of
replacements is displayed.
Method 2
(1) Press the [ALTER] soft key.
(2) Key in the address to be replaced, followed by a new address,
as shown in the example.
Example: To replace U with X, enter U,X.
(3) The subsequent steps are the same as (5) to (8) of method 1.
Method 3
(1) Key in the address to be replaced, followed by a new address,
as shown in the example.
Example: To replace U with X, enter U,X.
(2) Press the [ALTER] soft key.
All the occurrences of the address to be replaced are
replaced.
(3) The subsequent steps are the same as (6) to (8) of method 1.
Limitation
1 Only those words that appear after that to which the cursor is
positioned when replacement starts can be replaced. If the word
to which the cursor is positioned when replacement starts is the
same as that to be replaced, that word will not be replaced.
2 Even comment sections are within a scope of replacement.
Example: If an attempt is made to replace Y in the program having
the comment section (JOB2 XY-PLANE), the Y in
the comment section can be replaced.
Warning
Message Description
DATA NOT FOUND Not a single occurrence of the address to be
replaced can be found.