FILESEARCHSTROCC keyword

Specifies which occurrence of a string that appears multiple times in the file to use for positioning the new line.

The default value of LAST specifies the last occurrence of the search string. If you want i5/OS to use the first occurrence of the search string, specify FIRST.