SMAT database API
The SMAT database API is for storing messages in the SMAT database during message processing. You can manually store messages in the SMAT database at any user point of control (UPoC).
You can also use the API in UPoC. See Tcl SMAT API.
These use cases show how to use the SMAT database API:
- Example: Pre/Post translate archive
User 1 must archive the current message before and after translation.
User 1 configures the steps in the Translation Configurator’s Pre Proc and Post Proc tabs.
- Example: Conditional message archive
User 1 must keep copies of messages that meet a specific criteria. User 1 writes a Tcl proc that tests for the required conditions. If the message matches the conditions, then it is archived in the assigned SMAT database.
- Example: Archive decrypted CSC transactions
User 1 has written an interface that receives encrypted Cloverleaf Secure Courier (CSC) transactions. Before processing the CSC transactions, User 1 must archive the unencrypted transactions in the SMAT database.
User 1 writes a Tcl proc and loads it into the inbound TPS in NetConfig. When a transaction is received, it is archived in the SMAT database by the proc in the inbound TPS.