Use the Find/Change command in the editor to find records that contain specified character strings and to change one specified string to another. You can use the editor normally while the Find/Change dialog is open.
Follow these steps:
The Find/Change dialog displays.
Specifies the string to find
Specifies the string with which you want the find string replaced
Note: If the Change to and Find fields are not the same length, the record length is corrected by be removing characters or adding pad characters to the end of the record. The Change Confirmation message displays with more information about correcting the length of the changed record.
Specifies the data type of the find string
Specifies the length of the find string
Note: You must complete the Length field if you selected Packed decimal as the data type. Otherwise this field is not active.
Specifies the first, or leftmost, column in which to search
Specifies the last, or rightmost, column in which to search
Note: If the end column is not also specified, the specified string must begin the in the start column.
Note: If no column limits are specified, all records are searched for the Find string.
Start from the current position in the file and locate the next occurrence of the specified string
Start from the current position in the file and locate the previous occurrence of the specified string
Start at the beginning of the file and locate the first occurrence of the specified string
Start at the end of the file and locate the last occurrence of the specified string
Match strings anywhere in a word
Match only complete words
Match only strings at the beginning of words
Match only strings at the end of words
Search in all lines
Search only in excluded lines
Search only in lines that are not excluded
Specifies the number of records to include in the search
Runs the find command until the specified conditions are met once.
Note: The result is highlighted in the editor in Character mode but not in single-record format.
Runs the find command until all instances that meet the specified conditions are met.
Note: The result is highlighted in the editor in Character mode but not in single-record format.
Runs the change command until one change is made according to the specified conditions
Note: This button activates when you specify a value in the Change to field.
Runs the change command until all changes are made according to the specified conditions
Note: This button activates when you specify a value in the Change to field.
A message displays a summary of the find or change results.
Note: If the Find and Change to values are a different length, the Change Confirmation dialog displays showing information about correcting the record length. Click OK to exit the Change Confirmation message. For more information about correcting the record length, see Change Confirmation.
Use the editor scroll bar to view all the results.
The Find/Change dialog closes. The find or change results remain highlighted until you run a find or change command again or until you reset the processing option. For more information, see Reset.
|
Copyright © 2013 CA.
All rights reserved.
|
|