iterate in an xlate for OBX

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf iterate in an xlate for OBX

  • Creator
    Topic
  • #48365
    Ross Stolle
    Participant

      I have a translate set up in an ORU_R01 message.  Within it there can be multiple OBX’s.  I want to take the OBX.3.1 and change it with a table.  I have it working on the first instance of an OBX, but each subsequent one does not work.  I’ve never used an Iterate and was wondering if someone could help me out with this.  Thanks!

    Viewing 0 reply threads
    • Author
      Replies
      • #58419
        Rentian Huang
        Participant

          Ross,

          The importance thing is to put the iterating variable in your path (%g1)

          Code:

          ITERATE
          Type: group   Basis: 1(0).1(0).1   Variable: %g1

           TABLE:  
           1(0).1(0).1(%g1).OBX.00571.[0]  
           ===>
           1(0).1(0).1(%g1).OBX.00571.[0]

          Sam  8)

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