Removing Selected Segments

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing Selected Segments

  • Creator
    Topic
  • #47521
    Anonymous
    Participant

      Hi Y’all

      I am trying to remove SOME of the IN1 segments that are being sent out. Is there a way to do this within a Xlate?

    Viewing 1 reply thread
    • Author
      Replies
      • #55982
        Michael Lacriola
        Participant

          You can do it in a Xlate. First off, I like to remove the BULKCOPY statement and use PATHCOPY where needed. Then when you are iterating through your IN1 segments, you can use whatever IF logic then then PATHCOPY the approriate IN1 segments you need based on some value in the segment itself.

          If you leave the BULKCOPY in, your iterate will be to PATHCOPY @null to the IN1 in order to remove it from the outbound side since it was copied in by the BULKCOPY.

          Hope this helps.

        • #55983
          Anonymous
          Participant

            Michael,

            this is truly helpful.

            thanks

            Reggie

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