condition-code, CCW-address, and count
fields maycontain information pertain
ing to the last operation or may be set
to zero, or the original contents of
these fields at real locations 64-67 and70-71 may be left unchanged.
Information ProvidedChannel-Status Word Interruption conditions resulting from
the execution or conclusion of an opera
tion at the subchannel cause the wholeCSW to be replaced. Such a CSW can be
stored only by anI/O interruption or by
TESTI/O or CLEAR I/O. Except for situ
ations associated with command chaining
and equipment malfunctioning, the stor
ing can be caused byPCI or channel end
and by the execution of HALTI/O or HALT DEVICE on the selector channel. The
contents of theCSW are related to the
current values of the corresponding
quantities, although the count is unpre
dictable after program check, protection
check, and chaining check, and after an
interruption due to HALTI/O, HALT DEVICE, the CLRIO function, or the PCI flag.
ACSW stored upon the execution of a chain of operations pertains to the last
operation which the channel executed or
attempted to initiate. Information
concerning the preceding operations is
not preserved and is not made available
to the program.When an unusual situation causes command
chaining to be suppressed, the premature
conclusion of the chain is not explicit
ly indicated in theCSW. A CSW associ
ated with a conclusion due toa situation occurring at channel-end time
contains channel end and identifies the
unusual situation.When the device
signals the unusual situation with
control-unit end or device end, the
channel-end indication is not made
available to the program, and the chan
nel provides the current subchannel key,CCW address, and count, as well as the
unusual indication, with control-unit
end or device end in theCSW. The CCW address and count fields pertain to the
operation that was executed.
When the execution ofa chain of
commands is concluded by an unusual
situation detected during initiation ofa new operation, the CCW-address and
count fields pertain to the rejected
command. Except for situations result
ing from equipment malfunctioning,
conclusion at initiation time can occur
because of attention, unit check, unit
exception, busy, protection check, or
program check, and causes both the
channel-end and device-end bits in theCSW to be set to zeros.
ACSW associated with status signaled
after the operation at the subchannel
has been concluded contains zeros in the
subchannel-key,CCW-address, and count
fields, provided the status is not
cleared during STARTI/O or START I/O FAST RELEASE. This status includes
attention, control-unit end, and device
end (and channel end when it occurs
after the conclusion of an operation on
the selector channel by HALTI/O or HALT DEVICE). When the above status indications are
cleared during STARTI/O or START I/O FAST RELEASE, only the status portion of
theCSW is stored, and the original
contents of the subchannel-key,CCW address, deferred-condition-code,
logout-pending, and count fields at
locations 64-67 and70-71 are preserved.
Similarly, only the status bits of theCSW are changed when the command is
rejected or the operation at the
subchannel is concluded during the
execution of STARTI/O or START I/O FAST
RELEASE or whenever HALTI/O or HALT DEVICE causes CSW status to be stored.
TheCSW stored when a channel-available
interruption occurs contains zeros in
all fields.
Errors detected during execution of theI/O operation do not affect the validity
of theCSW unless channel-control check
or interface-control check are
indicated. Channel-control check indi
cates that equipment errors have been
detected which can cause any part of theCSW, as well as the I/O address, to be
invalid. Interface-control check indi
cates that the address identifying the
device or the status bits received from
the device may be invalid. The channel
forces correct parity on invalidCSW fields. The validity of these fields
can be ascertained by inspecting the
limited channel logout.
When anyI/O instruction cannot be
executed because ofa pending logout
which affects 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.
Subchannel Key
ACSW stored to reflect the progress of
an operation at the subchannel containsthe subchannel key used in that opera
tion. The contents of this field are
not affected by programming errors
detected by the channel or by the situ
ations causing termination of the opera
tion.Chapter 13. Input/Output Operations 13-73
fields may
ing to the last operation or may be set
to zero, or the original contents of
these fields at real locations 64-67 and
Information Provided
the execution or conclusion of an opera
tion at the subchannel cause the whole
stored only by an
TEST
ations associated with command chaining
and equipment malfunctioning, the stor
ing can be caused by
and by the execution of HALT
contents of the
current values of the corresponding
quantities, although the count is unpre
dictable after program check, protection
check, and chaining check, and after an
interruption due to HALT
A
operation which the channel executed or
attempted to initiate. Information
concerning the preceding operations is
not preserved and is not made available
to the program.
chaining to be suppressed, the premature
conclusion of the chain is not explicit
ly indicated in the
ated with a conclusion due to
contains channel end and identifies the
unusual situation.
signals the unusual situation with
control-unit end or device end, the
channel-end indication is not made
available to the program, and the chan
nel provides the current subchannel key,
unusual indication, with control-unit
end or device end in the
operation that was executed.
When the execution of
commands is concluded by an unusual
situation detected during initiation of
count fields pertain to the rejected
command. Except for situations result
ing from equipment malfunctioning,
conclusion at initiation time can occur
because of attention, unit check, unit
exception, busy, protection check, or
program check, and causes both the
channel-end and device-end bits in the
A
after the operation at the subchannel
has been concluded contains zeros in the
subchannel-key,
fields, provided the status is not
cleared during START
attention, control-unit end, and device
end (and channel end when it occurs
after the conclusion of an operation on
the selector channel by HALT
cleared during START
the
contents of the subchannel-key,
logout-pending, and count fields at
locations 64-67 and
Similarly, only the status bits of the
rejected or the operation at the
subchannel is concluded during the
execution of START
RELEASE or whenever HALT
The
interruption occurs contains zeros in
all fields.
Errors detected during execution of the
of the
or interface-control check are
indicated. Channel-control check indi
cates that equipment errors have been
detected which can cause any part of the
invalid. Interface-control check indi
cates that the address identifying the
device or the status bits received from
the device may be invalid. The channel
forces correct parity on invalid
can be ascertained by inspecting the
limited channel logout.
When any
executed because of
which affects the operational capability
of the channel or subchannel, a full
all set to zeros, with the exception of
the logout-pending bit and the channel
control-check bit, which are set to
ones.
Subchannel Key
A
an operation at the subchannel contains
tion. The contents of this field are
not affected by programming errors
detected by the channel or by the situ
ations causing termination of the opera
tion.