Path copy within an iterate?

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Path copy within an iterate?

  • Creator
    Topic
  • #52714
    Cynthia Briscoe
    Participant

      I am trying to translate a MDM^T02 to an ORU^R01 my only problem is getting the OBX segments to copy.

      I tried doing an iterate on the segment and then a path copy within this iterate of the whole OBX but it will only copy the first field of each OBX segment.

      I tried changing it to a group iterate and that doesn’t even do the first OBX.  Iterate functions are my nemesis!  Any body know how to do this

      I have attached the xlate

    Viewing 0 reply threads
    • Author
      Replies
      • #75261
        Jim Kosloskey
        Participant

          Cynthia,

          In your PATHCOPY move the %s1 to the (0) followint the OBX. Right now you have the counter in the group position and it appears this is a repeating segment. The (0) following the segment name is the segment repetition position within the address path.

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

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