When
SXXREQR receives control, it does a series of steps.
Procedure
Get parameters from either CommArea or Container.
Analyze parameters for validity.
Check for active RED interface in CICS.
Get access to the user data based on input passed.
Send the RED message to Substation ES using one of three functions (Send, Send with Confirm, or Send with Reply) indicating the RED Service to use.
All Substation ES (could be one or many on same or different LPARs) monitoring
SXXREQR requests validate Service availability.
SXXREQR transfers the message to Substation ES.
SXXREQR waits for response (if required) with a timeout. The timeout value is 20 seconds by default.
Substation ES handles the message and forward it to its destination, and then gets reply and returns it to the waiting
SXXREQR program through a Recipe which uses program
SXCREPLY.
SXXREQR returns the results of the call in the parameter control block and response message as indicated.