Thanks to those with helpful hints. I did figure this out earlier today. You’re right, Bob, there was an iteration problem.
Since I have to conjure up the ZL1 segment, I had to add an IF statement before the ZL1 copy to say that I only want one ZL1 per OBX. The way the iteration was written at first was to keep looping through OBX->ZL1->NTE group for as many NTE’s as occurred.
Kathy