The reasoning behind this is we have to block SIUs without an Account Number in PID.18 when scheduled via an outside system. I have 1 tclproc to kill the message on the SIU route and write the message to a local sqlite db. Then on a separate ADT (split) route I have another tclproc that compares MRNs, if it finds a match it reads the SIU from the database and replaces the ADT msg value. In Testing Tool it works, but testing the actual interfaces it’s still sending only the ADT payload.
lappend n_newmsg $n_segmentset n_msg [join $n_newmsg \r]msgset $mh $n_msglappend dispList “CONTINUE $mh”