The cl_check_ack_modify was edited so that a successful message would write to a specific log file.
under switch – exact
AA-CA{
set Ambfile [clock clicks]
set Amb01 [open ambupdate/$Ambfile$disp w]
fconfigure $Amb01 -translation binary -encoding utf-8
if {[uplevel #0 {info exists EuroBinary}]} {
fconfigure $Amb01 -encoding -eofchar {}
}
msgwrite $style $my_mh $Amb01
close $Amb01
#Good ack clean up
set send_cnt 0 :#init counter
return “{KILLREPLY $mh} {KILL $my_mh}”
}
The set up is like this. Lets say that you want a folder that has a file for each message that is successfully sent from thread MyProv01. MyProv01 is a sending thread. You have a tcl proc cloned from cl_check_ack_modify as shown above so that the success ack creates a file to a specified file name.
On the thread, on the Outbound tab, enter the name of the tcl proc you created in the TPS Inbound reply. Also have Send Ok Procs set to cl_save_ob_msg
In this example it create a file in a folder under the exec process. I have to create the folder when I install the site.
A different process can read the files and do what is needed with them.
Again, I had help from others to get this working.