Changing strings

When you are editing data, you can change data in multiple segments, by entering the CHANGE primary command.

For example, to change the next occurrence of the string “JAMES? to “JIMMY?, enter the following on the Command line:

C JAMES JIMMY

To change the next occurrence of the search string, enter the RChange command.

To change all occurrences of “JAMES? to “JIMMY?, enter the following on the Command line:

C ALL JAMES JIMMY

To find the same string as you specified on the previous CHANGE primary command, specify an asterisk (*) as the search string.

To use the same replacement string as you specified on the previous CHANGE primary command, specify an asterisk (*) as the replacement string.

To limit the search for a string to only where it appears as a prefix in the data, specify the PREFIX parameter.

To limit the search for a string to only where it appears as a suffix in the data, specify the SUFFIX parameter.

To limit the search for a string to only where it appears as a "word" in the data, specify the WORD parameter.

Related topics