I need to add an extra OBX segment at the end of iterate. This is what I have. I’m using an existing iterate to get a count on the number of OBX segments, but this is putting “HELLO” into the first repeating OBX and I need it to be in the last OBX. The value for $%g2 I’m getting is 22 so I would need “HELLO” in OBX.00573 the 22nd repeat.
Can someone assist me.
ITERATE
TABLE 1(0).1(0).1(0).OBX.00571 -> 1(0).1(0).1(%g1).OBX.00571.[0]
TABLE 1(0).1(0).1(0).OBX.00571 -> 1(0).1(0).1(%g1).OBX.00571.[1]
TABLE 1(0).1(0).1(0).OBX.00571 -> 1(0).1(0).1(%g1).OBX.00571.[2]
MATH:ADD =1 $%g1 -> $%g2
COPY =HELLO -> 1(0).1(0).1($%g2).OBX.00573
Thanks