Xlate Sanity Check.

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Xlate Sanity Check.

  • Creator
    Topic
  • #51233
    Anonymous
    Participant

      I have an inbound XCN field that has this in the inbound record.

      “1080^^^^^^^^^^^^~3019^^^^^^^^^^^^~1071^^^^^^^^^^^^”

      I need to pass this to a tcl procedure so I have this in the xlate

      0(0).TXA.#23  not 0(0).TXA.#23(0).

      I would expect the entire field in the tcl proc. But I only get this when I do an echo out

      “echo xlateIn = $xlateInVals “

      xlatin = 1080 {} {} {} {} {} {} {} {} {} {} {} {}

      It cuts off after the firs field.  I’m I just missing something, or just wrong ?

      Should not the entire field pass to the tcl proc ?

    Viewing 2 reply threads
    • Author
      Replies
      • #69302
        Anonymous
        Participant

          I was up to late last night so please forgive me this one.  

          I got it working.

          I did take a different track.

          But it is all good.  ðŸ˜³

        • #69303
          Bala Pisupati
          Participant

            what was the different track? Also just wondering is it something you had to fix in the Variant?

          • #69304
            Chris Williams
            Participant

              When you specify a field such as TXA.#23 the engine defaults the repetition value to 0 rather than returning all the repetitions, so TXA.#23 is interpreted as TXA.#23(0). You must iterate over them to get all the values.

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