What Is The Role Of Scratch Pad Area(spa) In Conversational Program?
Answer»
IMS provides support for conversational message PROCESSING. The conversational programming model processes transactions comprised of several steps. A conversational application program divides the transaction processing work into a connected series of interactions and uses the IMS-managed scratch pad area (SPA) to maintain the conversational state.
The conversational application program issues the message GU CALL to retrieve the SPA to determine the next transactional interaction and the message GN call to retrieve an input message ENTERED from a conversational mode device. The conversational application program updates the conversation state in the SPA with a message ISRT call.
When an application program wants to terminate the conversation, it can indicate this by inserting a blank transaction CODE to the SPA.