turely by issuing CLEAR CHANNEL, CLEAR I/O, HALT I/O, or HALT DEVICE. After the addressed channel and subchan
nel have been verified to bein a state
where STARTI/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 test ing occurs during the execution of START I/O, either during or subsequent to the
execution of STARTI/O FAST RELEASE, and
during command chaining and command
retry.
A data-transfer operationis initiated
at the subchannel and device only when
theCCW contains the S flag set to zero,
when no programming or equipment errors
are detected by the channel, and when
the device responds with zero status or
signals command retry during the initi
ation sequence. When the channel
detects or the device signals any unusu
al situations during the initiation of
an operation, the commandis said to be
rejected.
Rejection of the command during the
execution of STARTI/O or START I/O FAST
RELEASEis indicated by the setting of
the condition code in the PSW. Unless
theI/O device is not operational, the
reasons for the rejection are detailed
by the portion of theCSW stored by
STARTI/O or START I/O FAST RELEASE.
TheI/O device is not started, no inter
ruption conditions are generated, and
the subchannel is available subsequent
to the initiation sequence. TheI/O device is immediately available for the
initiation of another operation,
provided the command was not rejected
because the device or control unit was
busy or not operational.
When an unusual situation causes a
command to be rejected during initiation
of anI/O operation by command chaining
or command retry, an interruption condi
tionis generated, and the subchannel is
not available until the condition is
cleared. The reasons for the rejection
are indicated to the program by means of
the corresponding status bits in theCSW. The not-operational state of the I/O device, which during the execution
of STARTI/O and in some cases during
the execution of STARTI/O FAST RELEASE
causes condition code 3 to be set,
instead causes the interface-control
check bit to be set to one when detected
during command chaining or command
retry. The new operation at theI/O device is not initiated.
When STARTI/O FAST RELEASE;s executed
by a channel independent of the
addressed device, tests for most
program-specified information, for
control-unit and device availability,
for control-unit and device status, and
for most errors may be performed subse
quent to the execution of STARTI/O FAST
RELEASE. Some situations which would
have caused a condition code 1 or 3 to
be set had the instruction been STARTI/O instead cause an interruption condi
tion to be generated. TheCSW, when
stored, indicates that the interruption
condition is a deferred condition code 1
or 3.
When STARTI/O FAST RELEASE is executed
and start-I/O-fast queuing is provided
for the addressed subchannel, control
unit or device busy indications, when
presented in the absence of other indi
cations, may not result in the
generation of an interruption condition
indicating deferred condition code 1.
Instead theI/O operation may remain
pending at the subchannel with the
subchannel in the working state until
the corresponding no-longer-busy indi
cation is presented to the channel by
the control unit or device. Subsequent
ly, when the no-longer-busy indication
is presented to the channel, the channel
again attempts to initiate the pendingI/O operation at the device. (See also
"STARTI/O FAST RELEASE" in this
chapter.)
When the resume functionis performed by
the channel, tests for program-specified
information, for control-unit and device
availability, for control-unit and
device status, and for errors are
performed as for STARTI/O FAST RELEASE
executed independent of the addressed
device. Any unusual or error conditions
(except control unit or device busy)
detected while attempting to resume
channel-program execution at the device
causes an interruption condition to be
generated. TheCSW, when stored, indi
cates that the interruption condition isa deferred condition code 1 or 3. Control-unit or device-busy conditions
encountered when the resume function is
performed by the channel are handled as
for STARTI/O FAST RELEASE when start I/O-fast queuing is provided. That is,
control-unit or device-busy indications
may not result in the generation of an
interruption condition. Instead, the
channel program may remain pending at
the subchannel until the no-longer-busy
indication is presented by the control
unit or device.
ImmediateOperations Any command except that for the TIO function may cause the I/O device to Chapter 13. Input/Output Operations 13-55
nel have been verified to be
where START
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 and
execution of START
during command chaining and command
retry.
A data-transfer operation
at the subchannel and device only when
the
when no programming or equipment errors
are detected by the channel, and when
the device responds with zero status or
signals command retry during the initi
ation sequence. When the channel
detects or the device signals any unusu
al situations during the initiation of
an operation, the command
rejected.
Rejection of the command during the
execution of START
RELEASE
the condition code in the PSW. Unless
the
reasons for the rejection are detailed
by the portion of the
START
The
ruption conditions are generated, and
the subchannel is available subsequent
to the initiation sequence. The
initiation of another operation,
provided the command was not rejected
because the device or control unit was
busy or not operational.
When an unusual situation causes a
command to be rejected during initiation
of an
or command retry, an interruption condi
tion
not available until the condition is
cleared. The reasons for the rejection
are indicated to the program by means of
the corresponding status bits in the
of START
the execution of START
causes condition code 3 to be set,
instead causes the interface-control
check bit to be set to one when detected
during command chaining or command
retry. The new operation at the
When START
by a channel independent of the
addressed device, tests for most
program-specified information, for
control-unit and device availability,
for control-unit and device status, and
for most errors may be performed subse
quent to the execution of START
RELEASE. Some situations which would
have caused a condition code 1 or 3 to
be set had the instruction been START
tion to be generated. The
stored, indicates that the interruption
condition is a deferred condition code 1
or 3.
When START
and start-I/O-fast queuing is provided
for the addressed subchannel, control
unit or device busy indications, when
presented in the absence of other indi
cations, may not result in the
generation of an interruption condition
indicating deferred condition code 1.
Instead the
pending at the subchannel with the
subchannel in the working state until
the corresponding no-longer-busy indi
cation is presented to the channel by
the control unit or device. Subsequent
ly, when the no-longer-busy indication
is presented to the channel, the channel
again attempts to initiate the pending
"START
chapter.)
When the resume function
the channel, tests for program-specified
information, for control-unit and device
availability, for control-unit and
device status, and for errors are
performed as for START
executed independent of the addressed
device. Any unusual or error conditions
(except control unit or device busy)
detected while attempting to resume
channel-program execution at the device
causes an interruption condition to be
generated. The
cates that the interruption condition is
encountered when the resume function is
performed by the channel are handled as
for START
control-unit or device-busy indications
may not result in the generation of an
interruption condition. Instead, the
channel program may remain pending at
the subchannel until the no-longer-busy
indication is presented by the control
unit or device.
Immediate