I am having a problem doing this. It seems to work as long as the first occurrence of the BASIS is higher than every subsequent time. For example, The iteration will run the first time and set %s1 to 5. It will then do up to 5 iterations on every subsequent message that the BASIS is met. Regardless of how many times the subsequent Basis actually happens. So, if the next time the BASIS is met it should have 8 repetitions the XLATE will only give me the first 5. Very frustrating. If anyone has any thoughts or help it would be greatly appreciated. I just got off the phone with Lawson support and they said simply the XLATE tool is confused and it won’t work the way I expect it to.