Finding and replacing text

Using Map Designer's Find and Replace capability, you can search for specified text in any customized Java Code or in the comments of a transformation rule (or in both) and replace it with other specified text.

Steps for finding and replacing text

Perform the following steps to find and replace text.

  1. Initiate a find and replace in one of the following ways:

    Result: Map Designer displays the Replace dialog.

    Figure 35. Replace dialog

  2. In the Replace dialog, enter the text to search for in the Find what field and the text to replace it in the Replace with field. Select Match case, as necessary.
  3. Indicate where to Replace in by selecting either Code or Comment or both.
  4. Click Find Next to initiate the search.

    Result: One of the following results takes place:

  5. Click Replace to replace the match with the new text.

    Guideline: You can replace all similar matches with one action by clicking Replace All.

  6. To continue finding and replacing the specified text, instance by instance, repeat steps 4 and 5.

Copyright IBM Corp. 1997, 2004