vice end, the CSW contains the address of the
command to be retried + 8.
6.On a multiplexer channel, chained CCWs
which might ordinarily have been executed in a
burst, may, upon the occurrence of command
retry, cause multiplexing to occur, with the re
sult that the channel becomes unexpectedly
available.
Conclusion ofInput/Output Operations When the operation or sequence of operations initi
ated by STARTI/O or START I/O FAST RE LEASE is ended, the channel and the device gener
ate status conditions. These conditions canbe brought to the attention of the program by means of
anI/O interruption, by TEST I/O or CLEAR I/O, or, in certain cases, by START I/O or START I/O FAST RELEASE. The status conditions, as well as
an address and a count indicating the extent of the
operation sequence, are presented to the program in
the form of a channel status word(CSW). Types (,/ Conclusion
Normally anI/O operation at the sub channel lasts
until the device signals channel end. The channel
end condition can be signaled during the sequence
initiating the operation, or later. When the channel
detects equipment malfunctioning or anI/O system
reset is performed, the channel disconnects the de
vice without receiving channel end. The program
can force a device to be disconnected prematurely
by issuing CLEARI/O, HALT I/O, or HALT DE
VICE.
Conclusion atOperation Initiation
After the addressed channel and sub channel have
been verified to be in a state whereSTART I/O or START I/O FAST RELEASE can be executed, certain tests are performed on the validity of the
information specified by the program and on the
availability of the addressed control unit andI/O device. This testing occurs both during the execu
tion ofSTART I/O, either during or subsequent to
the execution ofSTART I/O FAST RELEASE, and
during command chaining.
A data-transfer operation is initiated at the sub
channel and device only when no programming orequipment errors are detected by the channel and
when the device responds with zero status duting the
initiation sequence. When the channel detects or the
device signals any unusual condition during the initi
ation of an operation, the command is said to be
rejected.
222 System/370 Principles ofOperation Rejection of the command during the execution
ofSTART I/O or START I/O FAST RELEASE is
indicated by the setting of the condition code in thePSW. Unless the device is not operational, the con
ditions that precluded the initiation are detailed by
the portion of theCSW stored by START I/O or ST ART I/O FAST RELEASE. The device is not
started, no interruption conditions are generated,
and the subchannel is available subsequent to the
initiation sequence. The device is immediately avail
able for the initiation of another operation, provided
the command was not rejected because of the busy
or not-operational condition.
When an unusual condition causes a command to
be rejected during initiation of anI/O operation by
command chaining, an interruptionconditioIl: is gen
erated, and the subchannel is not available until the
condition is cleared. The conditions are indicated to
the program by means of the corresponding status
bits in theCSW. The not-operational condition,
which during the execution ofST ART I/O and
sometimes during the execution ofST ART I/O FAST RELEASE causes condition code 3 to be set,
is indicated by means of the interface-control-check
bit. The new operation at theI/O device is not start
ed.
WhenSTART I/O FAST RELEASE is executed
by a channel independently of the addressed device,
tests on most program-specified information, on
control-unit and device availability, on control-unit
and device status, and on most error conditions are
performed subsequent to the execution ofSTART I/O FAST RELEASE. Some conditions which
would have caused a condition code 1 or 3 to be set
had the instruction beenSTART I/O instead cause
an interruption condition to be generated. TheCSW, when stored, indicates that the interruption condi
tion is a deferred condition code 1 or 3.
ImmediateOperations Instead of accepting or rejecting a command, the I/O device can signal the channel-end condition
immediately upon receipt of the command code. AnI/O operation causing the channel-end condition to
be signaled during the initiation sequence is called an"immediate operation." When the first CCW designated by the CAW
during aSTART I/O or START I/O FAST RE LEASE executed as a START I/O initiates an im
mediate operation with command chaining not indi
cated and command retry not occurring, no interrup
tion condition is generated. If no command chaining
occurs, the channel-end condition is brought to the
attention of the program by causingST ART I/O or ST ART I/O FAST RELEASE to store the CSW
command to be retried + 8.
6.
which might ordinarily have been executed in a
burst, may, upon the occurrence of command
retry, cause multiplexing to occur, with the re
sult that the channel becomes unexpectedly
available.
Conclusion of
ated by START
ate status conditions. These conditions can
an
an address and a count indicating the extent of the
operation sequence, are presented to the program in
the form of a channel status word
Normally an
until the device signals channel end. The channel
end condition can be signaled during the sequence
initiating the operation, or later. When the channel
detects equipment malfunctioning or an
reset is performed, the channel disconnects the de
vice without receiving channel end. The program
can force a device to be disconnected prematurely
by issuing CLEAR
VICE.
Conclusion at
After the addressed channel and sub channel have
been verified to be in a state where
information specified by the program and on the
availability of the addressed control unit and
tion of
the execution of
during command chaining.
A data-transfer operation is initiated at the sub
channel and device only when no programming or
when the device responds with zero status duting the
initiation sequence. When the channel detects or the
device signals any unusual condition during the initi
ation of an operation, the command is said to be
rejected.
222 System/370 Principles of
of
indicated by the setting of the condition code in the
ditions that precluded the initiation are detailed by
the portion of the
started, no interruption conditions are generated,
and the subchannel is available subsequent to the
initiation sequence. The device is immediately avail
able for the initiation of another operation, provided
the command was not rejected because of the busy
or not-operational condition.
When an unusual condition causes a command to
be rejected during initiation of an
command chaining, an interruption
erated, and the subchannel is not available until the
condition is cleared. The conditions are indicated to
the program by means of the corresponding status
bits in the
which during the execution of
sometimes during the execution of
is indicated by means of the interface-control-check
bit. The new operation at the
ed.
When
by a channel independently of the addressed device,
tests on most program-specified information, on
control-unit and device availability, on control-unit
and device status, and on most error conditions are
performed subsequent to the execution of
would have caused a condition code 1 or 3 to be set
had the instruction been
an interruption condition to be generated. The
tion is a deferred condition code 1 or 3.
Immediate
immediately upon receipt of the command code. An
be signaled during the initiation sequence is called an
during a
mediate operation with command chaining not indi
cated and command retry not occurring, no interrup
tion condition is generated. If no command chaining
occurs, the channel-end condition is brought to the
attention of the program by causing