XLate and Iteration

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XLate and Iteration

  • Creator
    Topic
  • #53683
    Julie Brandt
    Participant

      I am new to cloverleaf and have a XLate that has a OBR segment that repeats.  I need to change the OBR Segment 27 to a 1 but it only changes the first OBR and not the rest.  I know it’s somehting in my iterate that I have wrong.  Any Advice would be great.  I have tried many different options so this was my last one.

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

          Julie,

          Welcome to Cloverleaf and clovertech.

          I think your basis is incorrect. I think you are pointed to the ORC group and you need to be pointed to the OBR group.

          Also in your Actions inside the ITERATE it looks like you have not placed your ITERATE counter (%gx) in the address path – it needs to be on both the source and destination I think.

          Oh and the COPY of 1 to the OBR field is outside your ITERATE and also has a %s1 counter which I think is not only in the incorrect location but also is the incorrect counter.

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

        • #78535
          Julie Brandt
          Participant

            I had this all messed up.  I was able to fix it and have it working now.  Thank you for your help.

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