code (9C02) are
significant.
defined to be
2. Programs that issue RESUMEI/O are
not executed correctlyin models
that do not provide the suspend
and-resume facility. In these
models, RESUMEI/O is executed as
STARTI/O. This means that
programs that use RESUMEI/O must
be designed to issue RESUMEI/O only in models that provide the
suspend-and-resume facility. The
program can determine whether the
suspend-and-resume facility is
provided by issuing a mock STARTI/O with the suspend-control bit
set to one in theCAW. If the mock I/O operation is not terminated
with a channel-program-check indi
cation becauseCAW bit 4 is not
equal to zero, the suspend-and
resume facilityis provided, and
the program may safely issue RESUMEI/O. 3. Unlike a channel program initiated
by STARTI/O or START I/O FAST
RELEASE, a suspended channel
program being resumed may specify aCCW containing the transfer-in
channel command as the firstCCW executed when channel-program
execution is resumed.
STARTI/O SIO [S] '9COO' o 16 20 31
STARTI/O FAST RELEASE SIOF [S] '9C01' o 16 20 31
A write, read, read backward, control,
or sense operation is initiated with the
addressedI/O device and subchannel.
Bits 8-14 of the instruction are ignored
unless the suspend-and-resume facilityis provided by the system model. When
the facility is provided, bits0-15 of
the instruction are interpreted as
follows:Operation Code Interpretation 9COO 9C01 9C02 9C03-9CFF START I/O START I/O FAST RELEASE
RESUMEI/O Invalid operation
Bits 16-31 of the second-operand address
identify the channel, subchannel, andI/O device to which the instruction
applies. TheCAW, at real location 72,
contains the subchannel key, the
suspend-control bit, and the address of
the firstCCW. This CCW specifies the
operation to be performed and the stor
age area to be used,if any.
Either anSIO or SIOF function is
performed, depending on the instruction,
the channel, and the block
multiplexing-control bit, bit0 of
control register o. The instruction
STARTI/O always causes the SIO function
to be performed, as does STARTI/rr FAST
RELEASE when the block-multiplexing
control bit is zero. When the bit is
one, STARTI/O FAST RELEASE may, depend
ing on the channel, cause either theSIO or the SIOF function to be performed.
For theSIO function, the I/O operation
is initiated at the device if the
suspend flag is not 1 in the firstCCW, the addressed I/O device and subchannel
are available, the channel is available
or interruption-pending, and errors or
exceptional situations have not been
detected. TheI/O operation is not
initiated when the addressed part of theI/O system is in any other state or when
the channel or device detects any error
or exceptional situations during
execution of the instruction.
For theSIOF function, the I/O operation is made pending at the subchannel if the
subchannelis available, the channel is
available or interruption-pending, and
no errors or exceptional conditions are
recognized during the execution of STARTI/O FAST RELEASE. Selection of the I/O device may be performed during the
execution of the instruction or may be
performed later. When anSIOF function
is performed, initiation of theI/O operation at the I/O device occurs
logically subsequent and asynchronous to
the execution of the instruction. When
theI/O operation is not initiated at
theI/O device during the execution of
the instruction, theI/O operation is
said to be pending at the subchannel
until channel and subchannel facilities
are available for initiation. When anI/O operation is made pending at the
subchannel, the subchannel enters the
working state and condition code0 is
set for the instruction.
Status, other than control-unit end or
device end signaling the end of a previ
ously signaled control-unit-busy or
device-busy condition, that is presented
Chapter 13.Input/Output Operations 13-27
significant.
defined to be
2. Programs that issue RESUME
not executed correctly
that do not provide the suspend
and-resume facility. In these
models, RESUME
START
programs that use RESUME
be designed to issue RESUME
suspend-and-resume facility. The
program can determine whether the
suspend-and-resume facility is
provided by issuing a mock START
set to one in the
with a channel-program-check indi
cation because
equal to zero, the suspend-and
resume facility
the program may safely issue RESUME
by START
RELEASE, a suspended channel
program being resumed may specify a
channel command as the first
execution is resumed.
START
START
A write, read, read backward, control,
or sense operation is initiated with the
addressed
Bits 8-14 of the instruction are ignored
unless the suspend-and-resume facility
the facility is provided, bits
the instruction are interpreted as
follows:
RESUME
Bits 16-31 of the second-operand address
identify the channel, subchannel, and
applies. The
contains the subchannel key, the
suspend-control bit, and the address of
the first
operation to be performed and the stor
age area to be used,
Either an
performed, depending on the instruction,
the channel, and the block
multiplexing-control bit, bit
control register o. The instruction
START
to be performed, as does START
RELEASE when the block-multiplexing
control bit is zero. When the bit is
one, START
ing on the channel, cause either the
For the
is initiated at the device if the
suspend flag is not 1 in the first
are available, the channel is available
or interruption-pending, and errors or
exceptional situations have not been
detected. The
initiated when the addressed part of the
the channel or device detects any error
or exceptional situations during
execution of the instruction.
For the
subchannel
available or interruption-pending, and
no errors or exceptional conditions are
recognized during the execution of START
execution of the instruction or may be
performed later. When an
is performed, initiation of the
logically subsequent and asynchronous to
the execution of the instruction. When
the
the
the instruction, the
said to be pending at the subchannel
until channel and subchannel facilities
are available for initiation. When an
subchannel, the subchannel enters the
working state and condition code
set for the instruction.
Status, other than control-unit end or
device end signaling the end of a previ
ously signaled control-unit-busy or
device-busy condition, that is presented
Chapter 13.