z/OS MVS Programming: Sysplex Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Blocking receives

z/OS MVS Programming: Sysplex Services Guide
SA23-1400-00

For the case where responses are expected, you can specify IXCRECV REQTYPE=BLOCKING that blocks the receive operation if any of the requested responses are still pending. A blocking receive suspends the calling work unit until every requested response is no longer pending. If none of the requested responses are pending when IXCRECV is invoked, the service routine returns immediately to the caller without blocking.

For the case where responses are not expected, a blocking receive blocks the receive operation if any of the send requests are still pending.

Whether responses are expected or not, the descriptors and response data (as applicable) for the requested targets are stored into the designated output areas. The return and reason code indicates whether the message has completed (initiated send to all valid targets and received all expected responses), or is not found (message was discarded).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014