question on using suppress in xlate

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf question on using suppress in xlate

  • Creator
    Topic
  • #48720
    Nancy McDaniel
    Participant

      Hi,

      A co-worker who is new to Cloverleaf just went to the first Cloverleaf class.  She was mentioning to me that it is recommended to use the supress in xlate to suppress the original message (pre-xlate).  

      I am supressing any not needed messages in tcl pre procs.  Is there a need to supress the original message (ie message in its unxlated version)??

      thanks,

      Nancy

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

          Nancy,

          I only use SUPPRESS when I am also using CONTINUE in an Xlate to cut multiple xlated messages from one source message.

          Some folks do message filtering in an Xlate by using IF Actions combined with the SUPPRESS action.

          We prefer doing our filtering in a generic, reusable Tcl procedure designed for message filtering in the message routing (pre-xlate).

          I know of no good reason to just unilaterally use SUPPRESS.

          But perhaps I misunderstand your question and/or the comment made in class.

          Jim Kosloskey

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

        • #59480
          Nancy McDaniel
          Participant

            Jim,

            That is how I understood the purpose for using supress, if doing some if logic or generating messages out of xlate.  

            I did not have the first class, instead went to level 2 this last fall but was not aware of any need to get rid of the original untranslated message within the xlate.  When my co-worker mentioned it, I thought maybe I was supposed to be doing this all along.

            I do my supression in tcl procs usually outside of xlate. I haven’t needed to do it within a xlate yet.  

            thanks for the feedback.

            Nancy

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