What I need to do is set the TXA.17 field to a certain string based on a value in the OBX.5 [repetitive] field. When testing my code, what looks to be happening is that I’m able to find the OBX.5 value, but only AFTER it processes thru the TXA segment. Therefore, when I put the message back together, the TXA.17 isn’t changed correctly.
What I need to do is somehow process thru the OBX segment prior to the TXA. Is this possible within a single tcl-proc? If so, how?
Thanks,
Josh