- This topic has 12 replies, 5 voices, and was last updated 13 years, 10 months ago by .
Looking through this forum, I’m seeing a couple of different ideas on using SUPPRESS in the xlt.
I realize the ‘better’ option is a pre-proc tcl to filter and kill unwanted messages. I’m trying to do this in the xlt as a test. The suppress logic is the first few instructions in the xlt. If, for example, an ADT^A31 is found, I want to ‘kill’ the message. What I’m seeing is the message is created with only the vendor specific default values in the message, and nothing else.
So…short question. Does SUPPRESS actually kill the message?
From a previous thread:
“Well. It depends!
From what I understand, when you SUPPRESS a message in an Xlate, the Xlate still executes all of its code. So it stands to reason that there is less overhead if you kill the message in a tcl script if you know right away that a message is unwanted. There will be some situations where it makes more sense to kill the message in an Xlate.”
- The forum ‘Cloverleaf’ is closed to new topics and replies.