I have a charge interface where “CH” and “CR” are sent in the same message. The receiver wants to receive two separate messages. One message for the “CH”s and another message for the “CR”s. Using xlate, I am able to send the first message which are for the “CH”s. I then use the SEND statement to send the second message. In order to re-populate the FT1 segment I use @null to clear the segment via an iteration. Afterwards, I iterate on the FT1 segment again selecting only the “CR”s. However, the end result looks like this:
FT1
FT1
FT1|1|……|CR|…………..
No matter what I do I cannot get rid of the first two FT1s.
Any insights will be greatly appreciated.