Interrogating IUCV Queues • Connection pending • Connection complete Path severed • Path quiesced • Path resumed
The SET MASK function is interrogated before the SETCONTROL MASK func
tion. If you specify that all control interrupts are disabled using the SET MASK
function, then the SETCONTROL MASK settings are not interrogated. If you
specify that all control interrupts are enabled using the SET MASK function, then
the SETCONTROL MASK settings will be interrogated to determine how to han
dle the individual types of control interrupts.
AfterIUCV initialization and until you issue the SET MASK or SET CONTROL MASK functions, all IUCV sub mask bits are on, enabling all IUCV external inter
rupts.
A virtual machine can only be notified of pendingCONNECT, ACCEPT, SEVER,
QUIESCE, and RESUME functions by receiving an external interruption. Howev
er, a virtual machine can field incoming messages or replies either by being enabled
for external interruptions, or by interrogating the SEND queue (via the DESCRIBE
function) or theREPLY queue (via the TEST COMPLETION function). IUCV also provides the TEST MESSAGE function to determine the presence of
any messages on a communicator's SEND queue orREPLY queue. If no messages
are present, the virtual machine goes into a wait state until a message comes in.
For example, if a source communicator sends a priority message,IUCV queues an
external interruption (subtype08) for the target communicator. If the target virtu
al machine is both enabled for external interruptions (bit 7 in the virtualPSW and
submask bit30 in control register zero are set to one), and enabled for priority
messages (via the SET MASK function), then the target virtual machine receives
an external interruption. If the target virtual machine is not enabled for external
interruptions or is not enabled for priority messages, the message remains queued
on the target's SEND queue. If the target virtual machine is not enabled for
external interrupts or priority messages, it can issue the DESCRIBE function to
obtain information about the message, and the pending external interrupt for that
message is cleared. The target virtual machine can store the information and can
later RECEIVE or REJECT the message.
Note: If a communicator is enabled for external interruptions and issues the
DESCRIBE or TESTCOMPLETION function, results are unpredictable. It can
not be determined whether information about a particular message is received via
external interruption or by the completion of DESCRIBE or TESTCOM PLETION. However, IUCV supplies information about a message only once.
When a communicator has completed all communications, the virtual machine may
invoke the RETRIEVE BUFFER to
CauseIUCV to stop using the external interruption buffer created by the
DECLARE BUFFER functionPrevent further IUCV communication. Inter-User Communications Vehicle 115
The SET MASK function is interrogated before the SET
tion. If you specify that all control interrupts are disabled using the SET MASK
function, then the SET
specify that all control interrupts are enabled using the SET MASK function, then
the SET
dle the individual types of control interrupts.
After
rupts.
A virtual machine can only be notified of pending
QUIESCE, and RESUME functions by receiving an external interruption. Howev
er, a virtual machine can field incoming messages or replies either by being enabled
for external interruptions, or by interrogating the SEND queue (via the DESCRIBE
function) or the
any messages on a communicator's SEND queue or
are present, the virtual machine goes into a wait state until a message comes in.
For example, if a source communicator sends a priority message,
external interruption (subtype
al machine is both enabled for external interruptions (bit 7 in the virtual
submask bit
messages (via the SET MASK function), then the target virtual machine receives
an external interruption. If the target virtual machine is not enabled for external
interruptions or is not enabled for priority messages, the message remains queued
on the target's SEND queue. If the target virtual machine is not enabled for
external interrupts or priority messages, it can issue the DESCRIBE function to
obtain information about the message, and the pending external interrupt for that
message is cleared. The target virtual machine can store the information and can
later RECEIVE or REJECT the message.
Note: If a communicator is enabled for external interruptions and issues the
DESCRIBE or TEST
not be determined whether information about a particular message is received via
external interruption or by the completion of DESCRIBE or TEST
When a communicator has completed all communications, the virtual machine may
invoke the RETRIEVE BUFFER to
Cause
DECLARE BUFFER function