Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › pre-proc with reference to a table
While in a level 2 class a while back, we worked with a fairly simple thread pre-proc that referenced a Table.tbl so as to do a kill msg before entering the xlate. My notes have wandered. Familiar to anyone?
Paul,
From within a proc, you can use the hcitbllookup command to perform a lookup using a translation table, i.e.
set retval [hcitbllookup myTable.tbl $InputValue]
where myTable.tbl is the name of the table to use, and $InputValue is the value to lookup in the table.
Hope that helps.
Jim Cobane
Henry Ford Health
I have a clovertech post at this URL
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1562&highlight=tbllookup” class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1562&highlight=tbllookup
that uses a trxID proc to kill messages that illustrates what James Cobane described by using the tbllookup command.
I thought you might like to see another approach to accomplish message filtering in addition to using a TPS proc.
Russ Ross RussRoss318@gmail.com