basis for nonshared subchannels. That
is, if suspend-and-resume facilities are
provided by the model, they are provided
for one or more nonshared subchannels of
one or more multiplexer channels. The
suspend-and-resume facility is not
provided for shared subchannels, includ
ing the subchannel of a selector
channel.
When channel-program execution
ated via
block-multiplexing-control bit (bit
control register
suspend-and-resume facility, if provided
for the subchannel, mayor may not be
operable. When the facility is not
operable, detection of the S flag in a
CCW causes the channel to recognize the
program-check condition and terminate
the operation.
Suspension occurs when a new CCW takes
control that has a
command
the
signaled that the
flag must be a
normal CCW checking is performed. A
subsequent RESUME
informs the channel that the suspend CCW
may have
channel must refetch the CCW and examine
the current settings of the flags. The
channel never executes a CCW with the S
If the CCW containing the S flag also
contains the
condition is generated and
channel-program execution is suspended.
The
it is allowed, regardless of whether the
channel-program execution is still
suspended or not. The suspend function,
when used in conjunction with
program to the occurrence of
sion
When the first CCW of
the operation is suspended prior to
set for START
sion occurs on the first CCW,
I/O
for which command chaining is not
set.
Programming
resumption of a suspended channel
program may not be desired. Normal
termination of
program may be
a. Executing HALT DEVICE\addressed
to the device. \
b. Modifying the CCWs in storage
such that when channel-program
execution
command issued to the device
bits of all zeros
(no-operation) and with no
chain-command flag specified,
and then issuing RESUME
caused suspension of channel
program execution is replaced by
the transfer-in-channel command
code (X8 hex) prior to executing
RIO, the S flag
from the CCW
the CCW are ignored when the
command is transfer in channel
(TIC).
3. In some models, the suspend-and
resume facility is operable for a
channel-program execution that is
initiated on a block-multiplexer
channel while the block
multiplexing-control bit (bit
control register
these models, channel-program
execution occurs with multiplexing
inhibited until the channel-program
execution is suspended. When
suspension occurs, the effect on
the channel is the
multiplexing had occurred. That
is, the device
the channel at the end of a block,
and the subchannel remains in the
working state. When this happens,
the channel becomes available for a
new
device.
When the suspended channel-program
execution is subsequently resumed,
it is executed
channel-program execution
the block-multiplexing-control bit
set to one. That is, block multi
plexing is no longer inhibited
after the channel-program execution
is resumed.
Chapter 13. Input/Output Operations 13-47