One received message two messages sent

Homepage Clovertech Forums Read Only Archives Cloverleaf General One received message two messages sent

  • Creator
    Topic
  • #55544
    Robert Berrios
    Participant

    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.

Viewing 1 reply thread
  • Author
    Replies
    • #85702
      Jim Kosloskey
      Participant

      Are you using your own ITERATE counter for the outbound references for the CR segments? That is a counter % something that you created and you maintain?

      Something like %s99 or %g99?

      If this is not clear feel free to email me.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #85703
      Robert Berrios
      Participant

      Thank you for responding.

      However, I found out what my issue was.

      The FT1 segment is configured as required in the variant.

      Thus, in spite of the fact, I was clearing out each field out with @null, it was still reflecting:

      FT1

      FT1

      Once, one makes FT1 optional, the issue is resolved.

Viewing 1 reply thread
  • The forum ‘General’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10