Searching SMAT Database messages with EBCDIC encoding
To search SMAT Database messages with EBCDIC encoding, use the SMAT API to save message content into a separate SMAT Database under the site. This is not inbound or outbound SMAT Database. This is accomplished with ASCII encoding by UPoC before converting to EBCDIC.
You can search this SMAT Database with ASCII through the GUI by opening the SMAT Database database-searching tools.
For example, in a Tcl proc:
# open a smatdb
set DBHandle [smatdbopen insert.smatdb]
# may need to convert the msg content from EBCDIC to ASCII if
necessary
# set msg [convertMsgtoAscii $msg]
# insert a msgs
smatdbinsert $DBHandle $msg
smatdbclose $DBHandle