error after completion of the instruction. The CSW identifies the error condition. The
channel-end and busy bits are off, unless the
error was detected after the device was select
ed, and the device was found to be busy, in
which case the busy bit, as well as any bits in
dicating pending interruption conditions, are
on. The interruption conditions indicated in
theCSW have been cleared at the device. The I/O operation has not been initiated. No inter
ruption conditions are generated at theI/O device or subchannel. The state of the PCI bit
in theCSW is unpredictable.
3. An immediate operation was executed, and
either (1) no command chaining is specified
and no command retry occurs, or (2) chaining
is suppressed because of unusual conditions
detected during the operation. TheCSW con
tains the channel-end bit and any other indica
tions provided by the channel or the device.
The busy bit is off. TheI/O operation has
been initiated, but no information has been
transferred to or from the storage area desig
nated by the CCW. No interruption conditions
are generated at the subchannel, and the sub
channel is available for a newI/O operation. If
device end is not indicated, the device remains
busy, and a subsequent device-end condition is
generated. TheCSW contains the PCI bit if
specified in the first CCW.
4. TheI/O device contains a pending interruption
condition, or the control unit contains a pend
ing interruption condition for the addressed
device. TheCSW unit-status field contains the
busy bit, identifies the interruption condition,
and may contain other bits provided by the
device or control unit. The interruption condi
tion is cleared. The channel-status field indi
cates any error conditions detected by the chan
nel and contains the PCI bit if specified in the
first CCW.
5. TheI/O device or the control unit is executing
a previously initiated operation, or the control
unit has pending an interruption condition asso
ciated with a device other than the one ad
dressed. TheCSW unit-status field contains
the busy bit or, if the control unit is busy, the
busy and status-modifier bits. The channel
status field indicates any error conditions de
tected by the channel and contains the PCI bit
if specified in the first CCW. When theSlOP function is performed, the control unit busy
condition may cause the same action as theSIO function. Page of GA22-7000-4 Revised September 1, 1975
By TNL: GN22-0498
6. TheI/O device or control unit detected an
equipment or programming error during the
initiation, or the addressed device is in the not
ready state. TheCSW identifies the error con
dition. The channel-end and busy bits are off,
unless the device was found to be busy, in
which case the busy bit, as well as any bits in
dicating pending interruption conditions, are
on. The interruption conditions indicated in
theCSW have been cleared at the device. The I/O operation has not been initiated. No inter
ruption conditions are generated at theI/O device or sub channel. The CSW contains the
PCI bit if specified in the first CCW.
When theSIO or SlOP function cannot be execut
ed because of a pending logout condition which af
fects the operational capability of the channel or
subchannel, a fullCSW is stored. The fields in the CSW are all set to zeros, with the exception of the
logout-pending bit and the channel control check bit,
which are set to ones. No channel logout is associat
ed with this status.
When theSlOP function causes condition code 0 to be set and subsequently a condition is encoun
tered which would have caused a condition code 1 to
be set had the function beenSIO, a deferred
condition-code-lI/O interruption condition is gener
ated. In the resultingI/O interruption, a full CSW is stored, and the deferred condition code appears
in theCSW. On the byte-multiplexer channel, both the SIO and SlOP functions cause the addressed device to be
selected and the operation to be initiated only after
the channel has serviced all outstanding requests for
data transfer for previously initiated operations.
Program Exceptions:
Privileged operation
Resulting Condition Code:
oI/O operation initiated and channel proceeding
with its execution
1CSW stored
2 Channel or sub channel busy
3 Not operational
The condition code set byST ART I/O and START I/O PAST RELEASE for all possible states
of theI/O system is shown graphically as follows. See "States of the Input/Output System" for a de
tailed definition of the A, I, W, and N states.
Input/Output Operations205
channel-end and busy bits are off, unless the
error was detected after the device was select
ed, and the device was found to be busy, in
which case the busy bit, as well as any bits in
dicating pending interruption conditions, are
on. The interruption conditions indicated in
the
ruption conditions are generated at the
in the
3. An immediate operation was executed, and
either (1) no command chaining is specified
and no command retry occurs, or (2) chaining
is suppressed because of unusual conditions
detected during the operation. The
tains the channel-end bit and any other indica
tions provided by the channel or the device.
The busy bit is off. The
been initiated, but no information has been
transferred to or from the storage area desig
nated by the CCW. No interruption conditions
are generated at the subchannel, and the sub
channel is available for a new
device end is not indicated, the device remains
busy, and a subsequent device-end condition is
generated. The
specified in the first CCW.
4. The
condition, or the control unit contains a pend
ing interruption condition for the addressed
device. The
busy bit, identifies the interruption condition,
and may contain other bits provided by the
device or control unit. The interruption condi
tion is cleared. The channel-status field indi
cates any error conditions detected by the chan
nel and contains the PCI bit if specified in the
first CCW.
5. The
a previously initiated operation, or the control
unit has pending an interruption condition asso
ciated with a device other than the one ad
dressed. The
the busy bit or, if the control unit is busy, the
busy and status-modifier bits. The channel
status field indicates any error conditions de
tected by the channel and contains the PCI bit
if specified in the first CCW. When the
condition may cause the same action as the
By TNL: GN22-0498
6. The
equipment or programming error during the
initiation, or the addressed device is in the not
ready state. The
dition. The channel-end and busy bits are off,
unless the device was found to be busy, in
which case the busy bit, as well as any bits in
dicating pending interruption conditions, are
on. The interruption conditions indicated in
the
ruption conditions are generated at the
PCI bit if specified in the first CCW.
When the
ed because of a pending logout condition which af
fects the operational capability of the channel or
subchannel, a full
logout-pending bit and the channel control check bit,
which are set to ones. No channel logout is associat
ed with this status.
When the
tered which would have caused a condition code 1 to
be set had the function been
condition-code-l
ated. In the resulting
in the
selected and the operation to be initiated only after
the channel has serviced all outstanding requests for
data transfer for previously initiated operations.
Program Exceptions:
Privileged operation
Resulting Condition Code:
o
with its execution
1
2 Channel or sub channel busy
3 Not operational
The condition code set by
of the
tailed definition of the A, I, W, and N states.
Input/Output Operations