sponse to TEST I/O. Some tape control units, for
example, are in such a state when they have provid
ed the channel end condition 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 the CSW contains the busy and status modifier
bits, with zeros in the other CSW fields. The inter
ruption condition in the device and in the subchan
nel is not cleared.On some types of devices, such as the 2702 Transmission Control, the device never provides its
current status in response to TEST I/O, and an in
terruption condition can be cleared only by permit
ting anI/O interruption. When TEST. I/O is issued
to such a device, the unit-status field contains the
status modifier bit, with zeros in the other CSW
fields. The interruption condition in the device and
in the subchannel, if any, is not cleared.
However, at the time the channel assigns the
highest priority for interruptions to a condition asso
ciated with an operation at the subchannel, the chan
nel accepts the status from the device and clears the
corresponding condition at the device. When the'flO function is addressed to a device for which the
channel has already accepted the interruption condi
tion, the device is not selected, and the condition in
the sub channel is cleared regardless of the type of
device and its present state. The CSW contains unit
status and other information associated with the
interruption condition.On the byte-multiplexer channel, the TIO func
tion causes the addressed device to be selected only
after the channel has serviced all outstanding re-
AChannel A ,Ii: 11# , W , N, Subchannel 2 1* 2 3 Control Unit ,A I I ,W, N AI or Device 0 1 * 1 * 3 0 A Available I nterru ption pendi ng
A
quests for data transfer for previously initiated opera
tions.
ProgramExceptions: Privileged operation
Resulting Condition Code:
o Available
1 CSW stored
2 Channel or sub channel busy
3 Not operational
The condition code set by theTIO function for all
possible states of theI/O system is shown graphical
ly as follows.See "States of the Input/Output Sys tem" for a detailed definition of the A, I, W, and N
states.
Programming Notes
Disabling theCPU for I/O interruptions provides
the program a means of controlling the priority ofI/O interruptions selectively by channels. The priori
ty of devices attached on a channel is fixed and can
not be controlled by the program. The instruction
TESTI/O permits the program to clear interruption
conditions selectively byI/O device.
When a CSW is stored by theTIO function, the
interface-control-check and channel-control-check
indications may be due to a condition already exist
ing in the channel or due to a condition created by
theTIO function. Similarly, presence of the unit
check bit in the absence of channel end, control unit
end, or device end bits may be due to a condition
created by the preceding operation, the not-readyWi: I
W
#, N
2 3,Ii: ,1# , W
N
A13 2 1* 2 2 2 @ 2 2 I I W ,N , 1 * 1 * 3 Ii: Interruption pending for a device other than the one addressed 1# I nterruption pending for the addressed device
W WorkingWi: Working with a device other than the one addressed
W# Working with the addressed device
N
Notoperational CSW stored
@In the Wi: I #X state, either condition code 1 may be set with the CSW stored, or condition
code 2 may be set, depending on thechannel and the conditions in the channel. Note: Underscored condition codes pertain to conditions that can occur only on the multiplexer channel. Condition Codes Set by TEST I/O Input/Output Ope.rations 209
example, are in such a state when they have provid
ed the channel end condition and are executing the
backspace-file operation. When TEST
to a control unit in such a state, the unit-status field
of the CSW contains the busy and status modifier
bits, with zeros in the other CSW fields. The inter
ruption condition in the device and in the subchan
nel is not cleared.
current status in response to TEST I/O, and an in
terruption condition can be cleared only by permit
ting an
to such a device, the unit-status field contains the
status modifier bit, with zeros in the other CSW
fields. The interruption condition in the device and
in the subchannel, if any, is not cleared.
However, at the time the channel assigns the
highest priority for interruptions to a condition asso
ciated with an operation at the subchannel, the chan
nel accepts the status from the device and clears the
corresponding condition at the device. When the
channel has already accepted the interruption condi
tion, the device is not selected, and the condition in
the sub channel is cleared regardless of the type of
device and its present state. The CSW contains unit
status and other information associated with the
interruption condition.
tion causes the addressed device to be selected only
after the channel has serviced all outstanding re-
A
A
quests for data transfer for previously initiated opera
tions.
Program
Resulting Condition Code:
o Available
1 CSW stored
2 Channel or sub channel busy
3 Not operational
The condition code set by the
possible states of the
ly as follows.
states.
Programming Notes
Disabling the
the program a means of controlling the priority of
ty of devices attached on a channel is fixed and can
not be controlled by the program. The instruction
TEST
conditions selectively by
When a CSW is stored by the
interface-control-check and channel-control-check
indications may be due to a condition already exist
ing in the channel or due to a condition created by
the
check bit in the absence of channel end, control unit
end, or device end bits may be due to a condition
created by the preceding operation, the not-ready
W
#,
2 3
N
A
W Working
W# Working with the addressed device
N
Not
@
code 2 may be set, depending on the