XLate questions

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XLate questions

  • Creator
    Topic
  • #52259
    Tom Arrowsmith
    Participant

      1) What is the most efficient way in an xlate to copy a field that has multiple repetititions to another location and end up with all the repetitions? Does this need to be an iterate?

      2) What is the most efficient way in an xlate to null out such a field? without using pathcopy to null out the entire segment?

      tom

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

          Tom,

          You might give PATHCOPY a try (at the field level) but I am not fully conversational in all of the PATHCOPY potentials.

          Iteration of course always works.

          As far as nulling out – if you don’t want certain occurrences, don’t copy them. If PATHCOPY for the field to copy works, then you will need to either iterate to find out which occurences to null and then could use PATHCOPY or COPY to null depending on the Data or if you know which ones do a direct PATHCOPY or COPY.

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

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