Originally posted by Rentian Huang
Greetings Cloverleafers!!
I have an IB pre-TPS that gives me an error saying "message0" is destroy locked while executing "msgdestroy $mh". I need to destroy that incoming msg because I don't need it and if I don't destroy it, it kinda reminds in the Recovery DB forever.
Any help is very much appreciated!!
Sam 8)
proc tpsFilterHL7BhsBts { args } {
keylget args MODE mode ;# What mode are we in
set msgList {} ;# The return list containing multiply msgs
switch -exact -- $mode {
start {
return "" ;# Perform special init functions
}
run {
keylget args MSGID mh
set oriMsgs [msgget $mh]
msgdestroy $mh .............