I need to do a kill/continue script based on the value in PV1.10 (hospital service). The message needs to be killed if one of 17 values is present in this field. I think the list will be relatively static. I’ve seen scripts using either an lcontain or doing a tbllookup to determine whether a value qualifies for killing/continuation but I’m not sure which approach to use.
Does anyone have a sense of which function (lcontain or tbllookup) is more efficient given this number of values? If TCL actually hit disk to do a tbllookup I’d say lcontain is more efficient but my understanding of tables is that they’re cached anyway.
Thanks.