Asynchronous processing

Most CICSPlex® SM API commands normally function in a synchronous manner, where your program issues a request and then waits until command processing is complete.

The CANCEL command cancels an outstanding LISTEN request. The other commands can be used in either a synchronous or asynchronous manner. If you specify the NOWAIT option on any of these commands, the request is processed asynchronously.

The API commands you can use to monitor and receive the results of asynchronous processing are:
  • ADDRESS
  • RECEIVE.
Figure 1 illustrates the relationship of these commands to the API environment.
Figure 1. API commands for asynchronous processing
This figure illustrates the use of the asynchronous processing commands LISTEN, CANCEL, , ADDRESS and RECEIVE, and the NOWAIT option.