Originally posted by Richard Hart
Originally posted by Paul Johnston
.....## Now build the ACKNOWLEGEMENT message# set ACK "MSH$fldsep$sepchar$fldsep$rx_appl$fldsep$send_fac$fldsep" append ACK "$send_appl$fldsep$rx_fac$fldsep$dttm$fldsep$fldsep$mtype$fldsep" append ACK "$rx_ID$fldsep$p_type$fldsep$version$fldsep${seq_no}r" append ACK "MSA$fldsep$ack_type$fldsep$rx_ID$fldsep${ack_msg}r" set obMsg [msgcreate -type reply] msgset $obMsg $ACK# NEW msgmetaset $obMsg DRIVERCTL [msgmetaget $ACK DRIVERCTL] ## Continue original message and send response# unless there was an error, then kill original# if $ackflag { return "{CONTINUE $mh} {OVER $obMsg}" } else { return "{KILL $mh} {OVER $obMsg}" }......