All flags have individual significance, except that
the CC andSLI flags are ignored when the CD flag
is on. TheSLI flag is ignored on immediate opera
tions, 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 with an illustra
tion of its CCW format.
Programming Note
A malfunction that affects the validity of data trans
ferred 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
main storage should not be destroyed until the pro
gramhas verified that no malfunction affecting the
transfer and recording of data was detected.
Write
ReadI MMMMMM10 I o 8
C
CSSp I D
C
L K C
D00 I I P I A
32[ Data Address
31
Count
63
A read operation is initiated at theI/O device, and
the sub channel is set up to transfer data from the
device to main storage. For devices such as magnetic
tape units, disk storage, and card equipment, the
bytes of data within a block are provided in the same
sequence as written by means of a write command.
Data in storage is placed 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 one of the six flags--CD, CC,SLI, SKIP, PCI, and IDA. Bit positions 0-5 of the CCW contain
modifier bits. Data Address J Read Backward
o 8
31
1r-- M-MM-M-110-0 .------O-ata-Ad-dre-ss ---r-II :: 8 31
32 3540 48 63 A write operation is initiated at the I/O device, and
the subchannel is set up to transfer data from main
storage to theI/O device. Data in storage is fetched
in an ascending order of addresses, starting with the
address specified in the CCW.
A CC'W used in a write operation is inspected for
the CD, CC,SLI, PCI, and IDA flags. The setting of
theSkip nag is ignored. Bit positions 0-5 of the
CCW contain modifier bits.Progranruoodng Note
When writing on devices for which block length is
notdefined, such as a magnetic tape unit or an in
quiry station, the amount of data written is con
trolled only by the count in the CCW. Every opera
tion terminated under count control causes the
incorrect·-Iength indication, unless the indication is
suppressed by theSLI flag.
218 Principles of Operation C
CSSp I D C L K C D 00 I I P I A
32
Count
63
A read-backward operation is initiated at theI/O device, and the sub channel is set up to transfer data
from the device to main storage.On magnetic tape
units, read backward reading to be performed
with the tape moving backwards. The bytes of data
within a block are sent to the channel in a sequence
opposite to that on writing. The channel places the
bytes in storage in a descending order of address,
starting with the address specified in the CCW. The
bits within an eight-bit byte are in the same order as
sent to the device on writing.
A CCW used in a read-backward operation is
inspected for every one of the six flags--CD, CC,
the CC and
is on. The
tions, in which case the incorrect-length indication is
suppressed regardless of the setting of the flag. The
Each command is described below with an illustra
tion of its CCW format.
Programming Note
A malfunction that affects the validity of data trans
ferred in an
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
main storage should not be destroyed until the pro
gram
transfer and recording of data was detected.
Write
Read
C
C
C
L K C
D
32
31
Count
63
A read operation is initiated at the
the sub channel is set up to transfer data from the
device to main storage. For devices such as magnetic
tape units, disk storage, and card equipment, the
bytes of data within a block are provided in the same
sequence as written by means of a write command.
Data in storage is placed 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 one of the six flags--CD, CC,
modifier bits.
o 8
31
1
32 35
the subchannel is set up to transfer data from main
storage to the
in an ascending order of addresses, starting with the
address specified in the CCW.
A CC'W used in a write operation is inspected for
the CD, CC,
the
CCW contain modifier bits.
When writing on devices for which block length is
not
quiry station, the amount of data written is con
trolled only by the count in the CCW. Every opera
tion terminated under count control causes the
incorrect·-Iength indication, unless the indication is
suppressed by the
218
C
32
Count
63
A read-backward operation is initiated at the
from the device to main storage.
units, read backward
with the tape moving backwards. The bytes of data
within a block are sent to the channel in a sequence
opposite to that on writing. The channel places the
bytes in storage in a descending order of address,
starting with the address specified in the CCW. The
bits within an eight-bit byte are in the same order as
sent to the device on writing.
A CCW used in a read-backward operation is
inspected for every one of the six flags--CD, CC,