All flags have individual significance,
except that theCC and SLI flags are ignored when the CD flag is set to one.
The SLI flagis ignored on immediate
operations, in which case the
incorrect-length indication is
suppressed, regardless of the setting of
the flag. ThePCI flag is ignored during initial program loading.
Each command is described below, and the
formatis illustrated.
Programming 1. A malfunction that affects the
validity of data transferred in anI/O operation is signaled at the
end of the operation by means of
unit check or channel-data check,
depending on whether the device
(control unit) or the channel
detected the error. In order to
make use of the checking facilities
provided in the system, data read
in an input operation should not be
used until the end of the operation
has been reached and the validity
of the data has been checked.
Similarly, on writing, the copy of
data in storage should not be
destroyed until the program has
verified that no malfunction
affecting the transfer and record
ing of data was detected.
2. Anerror condition may be recog
nized by the channel and theI/O operation terminated when 256 or
more chained commands are executed
with anI/O device and none of the
executed commands result in the
transfer of any data. When this
condition is recognized, program
check is indicated.IMMMMMMOll Data Address
o 8 31C C 5 P I
DC L / C D 5 o //////// Count I I A
32 3540 48 63
A write operationis initiated at the I/O device, and the subchannel is set up
to transfer data from storage to theI/O device. Data in storage is fetched in an ascending order of addresses, start
ing with the address specified in theCCW. A CCW used in a write operation is
inspected for theCD, CC, SLI, 5, PCI, and IDA flags. The setting of the skip
flag is ignored. Bit positions0-5 of
theCCW contain modifier bits. Programming Note
When writing on devices for which block
length is not defined, such as a
magnetic-tape unit or an inquiry
station, the amount of data written is
controlled only by the count in theCCW. Every operation terminated under count
control causes the incorrect-length
indication, unless the indication is
suppressed by the SLI flag.MMMMMMIO Data Address
o 8 31
sC C S K P I
DC l I C D
S0 //////// Count I
p
I A
3240 48 63
A read operation is initiated at theI/O device, and the subchannel is set up to
transfer data from the device to
storage. For devices such as
magnetic-tape units, disk storage, and
card equipment, the bytes of data a block are provided in the same
sequence as written by means of a write
command. Data is placed in storage in
an ascending order of addresses, starting with the address specified in the CCW. A CCW used in a read operation is
inspected for every flag --CD, CC, SLI, SKIP, S, PCI, and IDA. Bit positions 0-5 of the CCW contain modifier bits. Chapter 13. Input/Output Operations 13-49
except that the
The SLI flag
operations, in which case the
incorrect-length indication is
suppressed, regardless of the setting of
the flag. The
Each command is described below, and the
format
Programming
validity of data transferred in an
end of the operation by means of
unit check or channel-data check,
depending on whether the device
(control unit) or the channel
detected the error. In order to
make use of the checking facilities
provided in the system, data read
in an input operation should not be
used until the end of the operation
has been reached and the validity
of the data has been checked.
Similarly, on writing, the copy of
data in storage should not be
destroyed until the program has
verified that no malfunction
affecting the transfer and record
ing of data was detected.
2. An
nized by the channel and the
more chained commands are executed
with an
executed commands result in the
transfer of any data. When this
condition is recognized, program
check is indicated.
o 8 31
D
32 35
A write operation
to transfer data from storage to the
ing with the address specified in the
inspected for the
flag is ignored. Bit positions
the
When writing on devices for which block
length is not defined, such as a
magnetic-tape unit or an inquiry
station, the amount of data written is
controlled only by the count in the
control causes the incorrect-length
indication, unless the indication is
suppressed by the SLI flag.
o 8 31
s
D
S
p
I A
32
A read operation is initiated at the
transfer data from the device to
storage. For devices such as
magnetic-tape units, disk storage, and
card equipment, the bytes of data
sequence as written by means of a write
command. Data is placed in storage in
an ascending order of addresses, start
inspected for every flag --