8.7

Table Of Contents
l
Occurrence related: Select to indicate that the search string must be found a
specific number of times before a string replacement is performed. If the Search line
by line option is selected in the Search mode group, the search counter is reset for
every line. If the Search whole file option is selected in the Search mode group,
the search counter is not reset before the end of the file. Select one of the
occurrence options (described below) in the list box below and enter a value in the
Occurrence value box besides it.
l At occurrence: The replacement will take place only when the specified
number of occurrences has been reached. Specifying 2 occurrences, for
instance, means that only the second occurrence will be replaced.
l At every specified occurrence: The replacement will take place every time
the specified number of occurrences is reached. Specifying 2 occurrences, for
instance, means that the second, the fourth and the sixth (and so on)
occurrence will be replaced.
l All after occurrence: All occurrences of the search string will be replaced
once the specified number of occurrences has been reached. Specifying 2
occurrences, for instance, means that all occurrences after the second one will
be replaced.
l All before occurrence: All occurrences of the search string will be replaced
until the specified number of occurrences has been reached. Specifying 5
occurrences, for instance, means that the four first occurrences will be
replaced.
l
Replace with: Enter the string that must be used as the replacement sting when a match
is found.
On Error Tab
The On Error tab is common to all tasks. Details can be found in the" Task Properties Dialog"
on page731.
By default, any action task, branch, splitter or condition that generates an error will simply be
ignored, and the task just under it (not within a branch)will be given control of the job file
without any modification. Any initial input task that generates an error will stop the process from
running as a whole, and output tasks will not generate output. The On Error tab can be used to
overwrite the default behaviors.
Page 273