Issue CSL RM requests to coordinate IMSplex-wide processes

You can use RM-supplied requests to coordinate IMSplex-wide processes. All clients that are to participate in the process register to RM using the RM client registration request (CSLRMREG). After the clients are registered, several different requests can be utilized to coordinate processes.

One client initiates the process using the RM process initiate request (CSLRMPRI). The same or a different client initiates a step using RM process step request (CSLRMPRS). The initiating client is called the master of the step. One RM processes the request and sends RM directives to the other clients to perform the process step. All the other clients process the step, build output, and then respond to the step using the RM process respond request (CSLRMPRR). RM consolidates the responses from all the clients into one output, and then returns the output to the master of the process step. If there are more steps in the process, a client initiates a step, and the clients perform processing and respond. Any client terminates the process using the RM process terminate request (CSLRMPRT). Clients can deregister using the RM client deregistration request (CSLRMDRG) if required.

Some failures can cause RM to lose all knowledge of an IMSplex-wide process. These include resource structure failure (and its duplex, if applicable) and failure of all RMs. If this type of failure occurs, each RM client should clean up knowledge of the process locally, and a master RM should terminate the process. The first RM client to detect a problem can initiate a clean up process step by issuing the CSLRMPRS request with the force option to enable RM to force the process step, regardless of the error. The clients participating in the process step clean up the process locally. The master of this process step then terminates the process with the CSLRMPRT request.

The CSLRMPRI, CSLRMPRR, CSLRMPRS, and CSLRMPRT requests can be used to coordinate IMSplex-wide processes.