logout-pending bit and
control-check bit, which
ones. No channel logout
with this status.
the channel
are set to
is associated
When theTIO function is used to clear
an interruption condition signaling
conclusion of anI/O operation at the
subchannel and the channel has not yet
accepted the condition from the device,
the function causes the device to be
selected and the interruption condition
in the device to be cleared. Duringcertain I/O operations, some types of
devices cannot provide their current
status in response to TESTI/O. Some
magnetic-tape control units, for
example, are in such a state when they
have provided channel end and are
executing the backspace-file operation.
When TESTI/O is issued to a control
unit in such a state, the unit-status
field of theCSW has the busy and
status-modifier bits set to ones,with zeros in the other CSW fields. The
interruption condition in the device and
in the subchannel is not cleared.On some types of devices, the device
never provides its current status in
response to TESTI/O, and an inter
ruption condition can be cleared only by
permitting anI/O interruption, by
I/O-system reset, or byI/O selective
reset. When TESTI/O is issued to such
a device, the unit-status field has the
status-modifier bit set to one, with
zeros in the otherCSW fields. The
interruption condition in the device and
in the subchannel, if any, is not
cleared.
However, by the time the channel assigns
the highest priority for interruptions
to a condition associated with an opera
tion at the subchannel, the channel has
accepted the status from the device and
cleared the corresponding condition at
the device. Some channels accept and
clear an interruption condition signal
ing the conclusion of anI/O operation
at the subchannel from the device before
it is assigned the highest priority for
interruptions.Other channels may
accept and clear any type of inter
ruption condition from the device prior
to assigning it the highest priority for
interruptions. The acceptance of an
interruption condition from a device
causes the associated subchannel to
enter the interruption-pending state.
When the channel recognizes an inter
ruption condition signaling the
conclusion of anI/O operation at the
subchannel, the associated subchannel
enters the interruption-pending state
even when the interruption condition has
not yet been accepted from the device.
When theTIO function is addressed to a
device for which the channel has already
accepted the interruption condition, the
device is not selected, and the condi
tion in the subchannel is cleared
regardless of the type of device and its
present state. TheCSW contains unit
status and other information associated
with the interruption condition.On the byte-multiplexer channel, the TIO function causes the addressed device to
be selected only after the channel has
serviced all outstanding requests for
data transfer for previously initiated
operations.
Program Exceptions:
Privileged operation
ResultingCondition Code: o Available
1CSW stored
2Channel or subchannel busy
3 Not operational
The condition code set by theTIO func
tion for all possible states of theI/O system is shown in the figure "Condition Codes Set by TEST I/O." See the section
"States of the Input/Output System" in
this chapter for a detailed definition
of the A, I,W, and N states. Chapter 13. Input/Output Operations 13-35
control-check bit, which
ones. No channel logout
with this status.
the channel
are set to
is associated
When the
an interruption condition signaling
conclusion of an
subchannel and the channel has not yet
accepted the condition from the device,
the function causes the device to be
selected and the interruption condition
in the device to be cleared. During
devices cannot provide their current
status in response to TEST
magnetic-tape control units, for
example, are in such a state when they
have provided channel end and are
executing the backspace-file operation.
When TEST
unit in such a state, the unit-status
field of the
status-modifier bits set to ones,
interruption condition in the device and
in the subchannel is not cleared.
never provides its current status in
response to TEST
ruption condition can be cleared only by
permitting an
I/O-system reset, or by
reset. When TEST
a device, the unit-status field has the
status-modifier bit set to one, with
zeros in the other
interruption condition in the device and
in the subchannel, if any, is not
cleared.
However, by the time the channel assigns
the highest priority for interruptions
to a condition associated with an opera
tion at the subchannel, the channel has
accepted the status from the device and
cleared the corresponding condition at
the device. Some channels accept and
clear an interruption condition signal
ing the conclusion of an
at the subchannel from the device before
it is assigned the highest priority for
interruptions.
accept and clear any type of inter
ruption condition from the device prior
to assigning it the highest priority for
interruptions. The acceptance of an
interruption condition from a device
causes the associated subchannel to
enter the interruption-pending state.
When the channel recognizes an inter
ruption condition signaling the
conclusion of an
subchannel, the associated subchannel
enters the interruption-pending state
even when the interruption condition has
not yet been accepted from the device.
When the
device for which the channel has already
accepted the interruption condition, the
device is not selected, and the condi
tion in the subchannel is cleared
regardless of the type of device and its
present state. The
status and other information associated
with the interruption condition.
be selected only after the channel has
serviced all outstanding requests for
data transfer for previously initiated
operations.
Program Exceptions:
Privileged operation
Resulting
1
2
3 Not operational
The condition code set by the
tion for all possible states of the
"States of the Input/Output System" in
this chapter for a detailed definition
of the A, I,