The transaction state machine (TSM) software process is an IRAPI application that manages the execution of TAS language applications.
A TAS language application is comprised of a set of script instructions and commands. These script instructions, running within the TSM software, are a sequence of library function calls that manage the low level interactions required to operate the system. At any one time, the system may run several occurrences of the same script as well as the execution of several scripts concurrently within the TSM process.
Based on the arguments in the script instructions, TSM uses IRAPI function calls to send messages to the system devices and other software processes that control the access to system hardware or a local or host database.
A TSM script begins to execute when a call is recognized by the Application Dispatch (AD) process on a channel to which a TSM application is assigned. TSM gains control of the channel for the script and processes script functions through the IRAPI. TSM returns ownership of the channel to the AD process when the call ends.
Both the script and TSM collect call information while a call is in progress. At the end of a call, TSM combines its data with the script data and sends the information to the call data handler (CDH).
A TAS script can be assembled, loaded, changed, or replaced without affecting the other scripts running on TSM or other IRAPI applications running on the system.