Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Receiving a Message (IXZXIXRM Macro) z/OS MVS Programming: JES Common Coupling Services SA23-1387-00 |
|
JDUs running in the JES2 or JES3 address space, and JES3 JDUs running in a functional subsystem (FSS) address space, can receive messages. When the system places a message in a JDU's mailbox, the POST exit routine (that you specified on IXZXIXMB POSTXIT= parameter of the IXZXIXSM macro) associated with that mailbox posts the JDU. This posting action notifies the JDU that there is a message to receive. To receive a message, issue the IXZXIXRM macro. When you issue IXZXIXRM, you must:
Process an aborted message as you would any message. You must receive and acknowledge it. An aborted message is a multi-segment message that was either sent erroneously or incompletely. The error was discovered by the sender prior to sending all segments. The last segment indicates the error with the ABORT_SEGMENT bit set on in the message envelope (mapped by IXZYIXEN). The SEGTYPE=ABORT indication is also propagated to the first segment when the last segment is sent. Typically you will recognize and immediately discard such messages. An acknowledgement, as always, is returned to JES XCF. Messages can be undeliverable because the receiving mailbox or
member does not exist or because a mailbox was cleared or deleted
prior to a message being acknowledged. JES XCF provides return and
reason codes for REQTYPE=SYNC and ASYNCACK messages that identify
the exact cause of the failure. But because the SYNC message causes
an MVS wait, JES and JES XCF processing for each is different.
|
Copyright IBM Corporation 1990, 2014
|