Routing asynchronous callout request responses to the inputting terminal
To route a response message to a terminal, the IMS application that issues the asynchronous callout request can capture the LTERM name of the terminal.
After it receives the response message, the IMS application that processes the response can then identify the originating terminal by the LTERM name. The LTERM name can either be included as part of the data of the callout request and the response messages or the LTERM name can be saved in a temporary database that is accessible to the IMS application that processes the response.
If a temporary database is used, the data used for the correlation of the response to the callout request must be included with the LTERM name in the database. After the response is returned, the IMS application can return the response to the initiating terminal by making a CHNG call and ISRT the response to the LTERM name captured by the IMS application program that issued initial callout request.