CCW is on or unless the condition occurs in an im
mediate operation. See the table in the chaining
section of this manual for the effect of the CD, CC,
and SLI flags on the indication of incorrect length.
Programming Note
The setting of the incorrect-length indication is un
predictable in the CSW stored during CLEARI/O. Program Check Program check occurs when programming errors are
detected by the channel. The condition can be due
to the following causes:
Invalid CCW Address Specification: The CA W or
the transfer-in-channel command does not designate
the CCW on integral boundaries for doublewords.
The three low-order bits of the CCW address are
not zero.
Invalid CCW Address: The channel has attempted
to fetch a CCW from a main-storage location which
is not available to the channel. An invalid CCW
addressean occur in the channel because the pro
gram has specified an invalid address in the CAW or
in the transfer-in-channel command or because on
chaining the channel attempts to fetch a CCW from
an unavailable location.
Invalid Command Code: The command code in the
first CCW designated by the CAW or in a CCW
fetched on command chaining has four low-order
zeros. The command code is not tested for validity
during data chaining.
Invalid Count: A CCW other than a CCW specify
ing transfer in channel contains the value zero in bit
positions 48-63.
InvalidIDA W Address Specification: Channel indi
rect data addressing is specified, and the data ad
dress does not designate the first IDAW on an inte
gral word boundary.
InvalidIDA W Address: The channel has attempted
to fetch an IDA W from a main-storage location
which is not available to the channel. An invalid
ID A W address can occur in the channel because the
program has specified an invalid address in a CCW
that specifies indirect data addressing or because the
channel,IOn sequentially fetching IDA Ws, attempts
to fetch from an unavailable location.
234System/370 Principles of Operation Invalid Data Address: The channel has attempted to
transfer data to or from a main-storage location
which is not available to the channel. An invalid
data address can occur in the channel because the
program has specified an invalid address in the
CCW, or in an IDA W, or because the channel, on
sequentially accessing storage, attempts to access an
unavailable location.
Invalid IDA W Specification: Bits0-7 of the IDA W
are not all zeros, or the second or subsequent IDA W
does not specify the beginning or, for read-backward
operations, the ending byte of a 2,048-byte block.
Invalid CA W Fonnat: The CAW does not contain
zeros in bit positions 4-7.
Invalid CCW Format: A CCW other than a CCW
specifying transfer in channel does not contain zeros
in bit positions 38-39.
Invalid Sequence: The first CCW designated by the
CAW specifies transfer in channel or the channel
has fetched two successive CCW s both of which
specify transfer in channel.
Detection of the program-check condition during
the initiation of an operation causes execution of the
operation to be suppressed. When the condition is
detected after the device has been started, the device
is signaled to conclude the operation the next time it
requests or offers a byte of data. The program
check condition causes command chaining to be
suppressed.
Protection Check
Protection check occurs when the channel attempts a
storage access that is prohibited by the protection
mechanism. Protection applies to the fetching of
CCWs, IDAWs, and output data, and to the storing
of input data. Storage accesses associated with each1/0 operation are performed using the key provided
in the CAW associated with that operation.
When the protection-check condition occurs dur
ing the fetching of a CCW that specifies the initia
tion of anI/O operation, or occurs during the fetch
ing of the first IDA W, the operation is not initiated.
When protection check is detected after the device
has been started, the device is signaled to conclude
the operation the next time it requests or offers a
byte of data. The condition causes command chain
ing to be suppressed.
mediate operation. See the table in the chaining
section of this manual for the effect of the CD, CC,
and SLI flags on the indication of incorrect length.
Programming Note
The setting of the incorrect-length indication is un
predictable in the CSW stored during CLEAR
detected by the channel. The condition can be due
to the following causes:
Invalid CCW Address Specification: The CA W or
the transfer-in-channel command does not designate
the CCW on integral boundaries for doublewords.
The three low-order bits of the CCW address are
not zero.
Invalid CCW Address: The channel has attempted
to fetch a CCW from a main-storage location which
is not available to the channel. An invalid CCW
address
gram has specified an invalid address in the CAW or
in the transfer-in-channel command or because on
chaining the channel attempts to fetch a CCW from
an unavailable location.
Invalid Command Code: The command code in the
first CCW designated by the CAW or in a CCW
fetched on command chaining has four low-order
zeros. The command code is not tested for validity
during data chaining.
Invalid Count: A CCW other than a CCW specify
ing transfer in channel contains the value zero in bit
positions 48-63.
Invalid
rect data addressing is specified, and the data ad
dress does not designate the first IDAW on an inte
gral word boundary.
Invalid
to fetch an IDA W from a main-storage location
which is not available to the channel. An invalid
ID A W address can occur in the channel because the
program has specified an invalid address in a CCW
that specifies indirect data addressing or because the
channel,
to fetch from an unavailable location.
234
transfer data to or from a main-storage location
which is not available to the channel. An invalid
data address can occur in the channel because the
program has specified an invalid address in the
CCW, or in an IDA W, or because the channel, on
sequentially accessing storage, attempts to access an
unavailable location.
Invalid IDA W Specification: Bits
are not all zeros, or the second or subsequent IDA W
does not specify the beginning or, for read-backward
operations, the ending byte of a 2,048-byte block.
Invalid CA W Fonnat: The CAW does not contain
zeros in bit positions 4-7.
Invalid CCW Format: A CCW other than a CCW
specifying transfer in channel does not contain zeros
in bit positions 38-39.
Invalid Sequence: The first CCW designated by the
CAW specifies transfer in channel or the channel
has fetched two successive CCW s both of which
specify transfer in channel.
Detection of the program-check condition during
the initiation of an operation causes execution of the
operation to be suppressed. When the condition is
detected after the device has been started, the device
is signaled to conclude the operation the next time it
requests or offers a byte of data. The program
check condition causes command chaining to be
suppressed.
Protection Check
Protection check occurs when the channel attempts a
storage access that is prohibited by the protection
mechanism. Protection applies to the fetching of
CCWs, IDAWs, and output data, and to the storing
of input data. Storage accesses associated with each
in the CAW associated with that operation.
When the protection-check condition occurs dur
ing the fetching of a CCW that specifies the initia
tion of an
ing of the first IDA W, the operation is not initiated.
When protection check is detected after the device
has been started, the device is signaled to conclude
the operation the next time it requests or offers a
byte of data. The condition causes command chain
ing to be suppressed.