and an interruption condition is generated. Whether
a block at the device is advanced when no data is
transferred depends on the type of device and is
specified in the SL or SRL publication forthe de
vice.
When command chaining takes place, the sub
channel appears to be in the working state from the
time the first operation is initiated until the device
signals the channel-end condition of the last opera
tion of the chain.On the selector channel, the device
executing the operation stays connected to the chan
nel and the whole channel appears to be in the work
ing state for the duration of the execution of the
chain of operations.On the multiplexer channel an
operation in the burst mode causes the channel to
appear to be in the Working state only for the dura
tion of the transfer of the burst of data. If channel
end and device end do not occur concurrently, the
device disconnects from the channel after providing
channel end, and the channel can in the meantime
communilcate with other devices on the interface.
Any unusual conditions cause command chaining
to be suppressed and an interruption condition to be
generated. The unusual conditions can be detected
by either the channel or the device, and the device
canprovide the indications with channel end,
control-unit end, or device end. When the channel is
aware of the unusual condition by the time the
channel-end signal for the operation is received, the
chain is ended as if the operation during which the
condition occurred were the last operation of the
chain. The device-end signal subsequently is pro
cessed as an interruption condition. When the device
signals unit check or unit exception with control-unit
end or device end, the subchannel terminates the
workingstate upon receipt of the signal from the
device. The channel-end indication in this case is not
made available to the program.
Termination by HALT I/O or HALT DEVICE
The instructions HALTI/O and HALT DEVICE
cause the current operation at the addressed channel
or subchannel to be immediately terminated. The
methodof termination differs from that used upon
exhaustion of count or upon detection of program
ming errors to the extent that termination by HALTI/O or HALT DEVICE is not necessarily contingent
on the receipt of a service request from the device.
When HALTI/O is issued to a channel operating
in the burst mode, the channel issues the halt signal
to the device operating with the channel, regardless
of either the current activity in the channel and on
the interface or the address of the device. If the
channel is involved in the data-transfer portion of anoperation, data transfer is immediately terminated,
224 System/370 Principles ofOperation and the device is disconnected from the channel. If
HALTI/O is addressed to a selector channel execu
ting a chain of operations and the device has already
provided channel end for the current operation, the
instruction causes the device to be disconnected and
command chaining to be immediately suppressed.
When HALT DEVICE is issued to a channel
operating in burst mode, the halt signal is issued to
the device involved in the burst-mode operation only
if that device is the one to which the HALT DE
VICE is addressed. If the operation thus terminated
is in the data-transfer portion of the operation, data
transfer is immediately terminated and the device is
disconnected from the channel. If the terminated
burst involves a selector channel executing a chain of
operations and the device has already provided
channel end for the current operation, HALT DE
VICE causes the device to be disconnected and
command chaining to be immediately suppressed. If,
on a selector channel, the device involved in the
burst is not the one to which the HALT DEVICE is
addressed, no action is taken. If, on a multiplexer
channel, the device involved in the burst is not the
one to which the HALT DEVICE is addressed,
HALT DEVICE causes any operation for the ad
dressed device to be terminated at the addressed
sub channel by suppressing any further data transfer
or command chaining for that device.
When HALTI/O or HALT DEVICE is issued to
a channel not operating in the burst mode, the ad
dressed device is selected, and the halt signal is is
sued as the device responds.On a multiplexer chan
nel, command chaining, if indicated in the sub chan
nel, is immediately suppressed.
The termination of an operation by HALTI/O or
HALT DEVICE on the selector channel results in
up to four distinct interruption conditions. The first
one is generated by the channel upon execution of
the instruction and is not contingent on the receipt
of status from the device. The command address and
count in the associated CSW indicate how much
data has been transferred, and the channel-status
bits reflect the unusual conditions, if any, detected
during the operation. If HALTI/O or HALT DE
VICE is issued before all data specified for the oper
ation has been transferred, incorrect length is indi
cated, subject to the control of the SLI flag in the
current CCW. The execution of HALTI/O or
HALT DEVICE itself is not reflected in CSW sta
tus, and all status bits in aCSW due to this interrup
tion condition can be zero. The channel is available
for the initiation of a newI/O operation as soon as
the interruption condition is cleared.
The second interruption condition on the selector
channel occurs when the control unit generates the
a block at the device is advanced when no data is
transferred depends on the type of device and is
specified in the SL or SRL publication for
vice.
When command chaining takes place, the sub
channel appears to be in the working state from the
time the first operation is initiated until the device
signals the channel-end condition of the last opera
tion of the chain.
executing the operation stays connected to the chan
nel and the whole channel appears to be in the work
ing state for the duration of the execution of the
chain of operations.
operation in the burst mode causes the channel to
appear to be in the Working state only for the dura
tion of the transfer of the burst of data. If channel
end and device end do not occur concurrently, the
device disconnects from the channel after providing
channel end, and the channel can in the meantime
communilcate with other devices on the interface.
Any unusual conditions cause command chaining
to be suppressed and an interruption condition to be
generated. The unusual conditions can be detected
by either the channel or the device, and the device
can
control-unit end, or device end. When the channel is
aware of the unusual condition by the time the
channel-end signal for the operation is received, the
chain is ended as if the operation during which the
condition occurred were the last operation of the
chain. The device-end signal subsequently is pro
cessed as an interruption condition. When the device
signals unit check or unit exception with control-unit
end or device end, the subchannel terminates the
working
device. The channel-end indication in this case is not
made available to the program.
Termination by HALT I/O or HALT DEVICE
The instructions HALT
cause the current operation at the addressed channel
or subchannel to be immediately terminated. The
method
exhaustion of count or upon detection of program
ming errors to the extent that termination by HALT
on the receipt of a service request from the device.
When HALT
in the burst mode, the channel issues the halt signal
to the device operating with the channel, regardless
of either the current activity in the channel and on
the interface or the address of the device. If the
channel is involved in the data-transfer portion of an
224 System/370 Principles of
HALT
ting a chain of operations and the device has already
provided channel end for the current operation, the
instruction causes the device to be disconnected and
command chaining to be immediately suppressed.
When HALT DEVICE is issued to a channel
operating in burst mode, the halt signal is issued to
the device involved in the burst-mode operation only
if that device is the one to which the HALT DE
VICE is addressed. If the operation thus terminated
is in the data-transfer portion of the operation, data
transfer is immediately terminated and the device is
disconnected from the channel. If the terminated
burst involves a selector channel executing a chain of
operations and the device has already provided
channel end for the current operation, HALT DE
VICE causes the device to be disconnected and
command chaining to be immediately suppressed. If,
on a selector channel, the device involved in the
burst is not the one to which the HALT DEVICE is
addressed, no action is taken. If, on a multiplexer
channel, the device involved in the burst is not the
one to which the HALT DEVICE is addressed,
HALT DEVICE causes any operation for the ad
dressed device to be terminated at the addressed
sub channel by suppressing any further data transfer
or command chaining for that device.
When HALT
a channel not operating in the burst mode, the ad
dressed device is selected, and the halt signal is is
sued as the device responds.
nel, command chaining, if indicated in the sub chan
nel, is immediately suppressed.
The termination of an operation by HALT
HALT DEVICE on the selector channel results in
up to four distinct interruption conditions. The first
one is generated by the channel upon execution of
the instruction and is not contingent on the receipt
of status from the device. The command address and
count in the associated CSW indicate how much
data has been transferred, and the channel-status
bits reflect the unusual conditions, if any, detected
during the operation. If HALT
VICE is issued before all data specified for the oper
ation has been transferred, incorrect length is indi
cated, subject to the control of the SLI flag in the
current CCW. The execution of HALT
HALT DEVICE itself is not reflected in CSW sta
tus, and all status bits in a
tion condition can be zero. The channel is available
for the initiation of a new
the interruption condition is cleared.
The second interruption condition on the selector
channel occurs when the control unit generates the