Try changing your path copy to:
1(0).1(0).1(0).OBX(%s1) > 1(0).1(0).0(%s1).NTE(0)
Based on the path of the NTE it looks like it’s placed in a repeating group. So you have to put the iterate variable in the group portion and not the segment.
Also, in this case you might want to use copy instead of pathcopy and copy each field. I found in the documentation that the source and destination must match. In my case I was trying to copy the RXO to RXE but instead of getting an error I just got weird results, so it might look like it works but you can’t trust the output.
John Mercogliano
Semi Retired, contractor
Hampton Roads, VA