mains in the working state until the end of the inher
ent cycle of the operation, at which time device end
is generated. If blocks of data at the device are de
fined, as in read-type operations on magnetic tape,
the recording medium is advanced to the beginning
of the next block.
When HALT DEVICE is issued at a time when
the subchannel is available and no burst operation is
in progress, the effect of the HALT DEVICE signal
depends partially on the type of device and its state.
In all cases, the HALT DEVICE signal has no effect
on devices that are not in the working state or are
executing a mechanical operation in which data is
not transferred across theI/O interface, such as
rewinding tape or positioning a disk access mecha
nism. If the device is executing a type of operation
that is unpredictable in duration, or in which data is
transferred across theI/O interface, the device in
terprets the signal as one to terminate the operation.
Pending attention or device end conditions at thedevke are not reset.
Program Exceptions:
Privileged operation
Resulting Condition Code:
o Subchannel busy with another device
or interruption pending
1 CSW stored
2 Channel working
3 Not operational
The condition code set by HALT DEVICE for all
possible states of theI/O system is shown graphical- Channel A Subchannel A II W# Q Q
A
ly. See"States of the Input/Output System" for a
detailed definition of the A, I, W, and N states.
Programming Note
Some selector and byte-multiplexer channels de
signed prior to the defining of HALT DEVICE (for
example, the2860), will execute HALT DEVICE as
HALTI/O. A program can ensure complete com
patibility between HALT DEVICE and HALTI/O on such channels by observing the following conven
tions:
1.On a byte-multiplexer channel, do not issue
HALT DEVICE to a multiplexing device when
a burst operation is in progress on the channel.
2.On a byte-multiplexer channel, do not issue
HALT DEVICE to a device on a shared sub
channel while that subchannel is working with
a device other than the one addressed.
3.On a selector channel in the working state, do
not issue HALT DEVICE to any device other
than the one with which the channel is work
ing.
The execution of HALT DEVICE always causes
data transfer across theI/O interface for the ad
dressed device to be terminated. The condition code
and the CSW (when stored) indicate whether the
control unit was signaled to terminate its operation
during the execution of the instruction. If the control
unit was not signaled to terminate its operation, the
condition code and the CSW (when stored) imply
the conditions under which the execution of a HALT
DEVICE for the same address will cause the control
unit to be signaled to terminate.
W#
P Q1. .:!: + ! Control Unit
- DeviceI A ,I ,WIN I IA I I ,WIN I IA III
W IN, I AI11W IN I A
W
N
*
1* 1* 1* 3Available Interruption pending
Working
1*1* 1* 3
-W=I= = Working with a device other than the
oneaddressed W# = Working with the addressed device
Not operationalCSW stored
Condition CodesSet by HALT DEVICE
1* 1* 1* 3
@In the W#XX state, either condition code 1 (with CSW stored) or
conditionc'ode 2 may be set, depending on the channel and the
conditions in thechannel. Condition code 1 (with CSW stored) can be
setonly if the control unit has received the signal to terminate.
+In the W=I=IX and W=I=W=I=X states, either condition code 0 or 2 may be
set, depending on thechannel and the conditions in the channel. $ In the state, either condition code 2 or 3 may be set, depending
on thechannel type and system model. Note: Underscored condition codes pertain to conditions that can occur only on the multiplexer channel. Input/Output Operations 201
ent cycle of the operation, at which time device end
is generated. If blocks of data at the device are de
fined, as in read-type operations on magnetic tape,
the recording medium is advanced to the beginning
of the next block.
When HALT DEVICE is issued at a time when
the subchannel is available and no burst operation is
in progress, the effect of the HALT DEVICE signal
depends partially on the type of device and its state.
In all cases, the HALT DEVICE signal has no effect
on devices that are not in the working state or are
executing a mechanical operation in which data is
not transferred across the
rewinding tape or positioning a disk access mecha
nism. If the device is executing a type of operation
that is unpredictable in duration, or in which data is
transferred across the
terprets the signal as one to terminate the operation.
Pending attention or device end conditions at the
Program Exceptions:
Privileged operation
Resulting Condition Code:
o Subchannel busy with another device
or interruption pending
1 CSW stored
2 Channel working
3 Not operational
The condition code set by HALT DEVICE for all
possible states of the
A
ly. See
detailed definition of the A, I, W, and N states.
Programming Note
Some selector and byte-multiplexer channels de
signed prior to the defining of HALT DEVICE (for
example, the
HALT
patibility between HALT DEVICE and HALT
tions:
1.
HALT DEVICE to a multiplexing device when
a burst operation is in progress on the channel.
2.
HALT DEVICE to a device on a shared sub
channel while that subchannel is working with
a device other than the one addressed.
3.
not issue HALT DEVICE to any device other
than the one with which the channel is work
ing.
The execution of HALT DEVICE always causes
data transfer across the
dressed device to be terminated. The condition code
and the CSW (when stored) indicate whether the
control unit was signaled to terminate its operation
during the execution of the instruction. If the control
unit was not signaled to terminate its operation, the
condition code and the CSW (when stored) imply
the conditions under which the execution of a HALT
DEVICE for the same address will cause the control
unit to be signaled to terminate.
W#
P Q
- Device
W
W
N
*
1* 1* 1* 3
Working
1*
-
one
Not operational
Condition Codes
1* 1* 1* 3
@
condition
conditions in the
set
+
set, depending on the
on the