errors are indicated during START I/O,
and during STARTI/O FAST RELEASE when it is executed as START I/O, by the
condition-code setting and by the status
portion of theCSW. When the SIOF func
tion is performed, the first two errors
are indicated as for START I/O, and the
remaining errors may be indicated as forSIO or may be indicated in a subsequent I/O interruption.
Depending on the model, conditions 9,10, 11 and 12 may (a) cause an error
condition to be recognized and prevent
operation initiation or (b) may cause an
error condition to be recognized onlyif the operation causes the device to
attempt to transfer data. In case (b),
a command that specifies an immediate
operation does not cause an errorindi cation for an SIO or SIOF function.
1. InvalidCCW-address specification
inCAW 2. Invalid CAW format
3. InvalidCCW address in CAW 4. First-CCW location protected
against fetching
5. FirstCCW specifying transfer in
channel
6. Invalid command codein first CCW 7. Invalid count in first CCW 8. Invalid format for first CCW 9. If channel indirect data addressing (CIDA) was specified, an invalid
data-address specification in the
firstCCW 10. If CIDA was specified, an invalid
data address in the firstCCW 11. If CIDA was specified, the first
IDAW location protected against
fetching
12. IfCIDA was specified, invalid
format for the first IDAW
13. If suspend control was specified,
invalid suspend flag in firstCCW. The CSW indicates program check, except
for items 4 and 11, for which protection
check is indicated.
Device Error: Programming or equipment
errors detected by the device as part of
the execution of TESTI/O, START I/O, or
START I/O FAST RELEASE are indicated by
unit check or unit exception in theCSW. The causes of unit check and unit excep
tion for each type of I/O device are
detailedin the SL pUblication for the
device.INSTRUCTION FORMATS
AllI/O instructions use the following S format: Op Code o 16 20 31
Except forSTORE CHANNEL 10, bit posi
tions 8-14 of these instructions are
ignored unless the system model provides
the suspend-and-resume facility. When
the facility is provided, bits 8-14 are
ignored, except for RESUMEI/O, STORE CHANNEL 10, and the operation codes 9C03 through 9CFF, which are invalid.
The second-operand address specified by
theB2 and O 2 fields is not used to
designate data but instead is used to
identify the channel andI/O device.
Address computation follows the rules of
address arithmetic. The effective
address has the following format:I////////Ichn AddrlDev Addrl 8 16 24 31
Bit positions
I/O address.
ignored.INSTRUCTIONS 16-31 contain the 16-bit
Bit positions 8-15 are
All I/O instructions cause a serializa
tion and checkpoint-synchronization
function to be performed. See the
section "Serialization" inChapter 5,
"Program Execution."
The names, mnemonics, and operation
codes of the I/O instructions are listed
in the figure "Summary of Input/Output
Instructions." The figure also indi
cates that all I/O instructions cause a
program interruption when theyare encountered in the problem state, that
all I/O instructions set the condition
code, and that all I/O instructions are
in the S instruction format.
Note: In the detailed descriptions of
the individual instructions, the mnemon
ic and the symbolic operand designation
for the assembler language are shown
with each instruction. In the case of
STARTI/O, for example, SIO is the
mnemonic andD 2 (B 2 ) the operand desig
nation.Chapter 13. Input/Output Operations 13-15
and during START
condition-code setting and by the status
portion of the
tion is performed, the first two errors
are indicated as for START I/O, and the
remaining errors may be indicated as for
Depending on the model, conditions 9,
condition to be recognized and prevent
operation initiation or (b) may cause an
error condition to be recognized only
attempt to transfer data. In case (b),
a command that specifies an immediate
operation does not cause an error
1. Invalid
in
3. Invalid
against fetching
5. First
channel
6. Invalid command code
data-address specification in the
first
data address in the first
IDAW location protected against
fetching
12. If
format for the first IDAW
13. If suspend control was specified,
invalid suspend flag in first
for items 4 and 11, for which protection
check is indicated.
Device Error: Programming or equipment
errors detected by the device as part of
the execution of TEST
START I/O FAST RELEASE are indicated by
unit check or unit exception in the
tion for each type of I/O device are
detailed
device.
All
Except for
tions 8-14 of these instructions are
ignored unless the system model provides
the suspend-and-resume facility. When
the facility is provided, bits 8-14 are
ignored, except for RESUME
The second-operand address specified by
the
designate data but instead is used to
identify the channel and
Address computation follows the rules of
address arithmetic. The effective
address has the following format:
Bit positions
I/O address.
ignored.
Bit positions 8-15 are
All I/O instructions cause a serializa
tion and checkpoint-synchronization
function to be performed. See the
section "Serialization" in
"Program Execution."
The names, mnemonics, and operation
codes of the I/O instructions are listed
in the figure "Summary of Input/Output
Instructions." The figure also indi
cates that all I/O instructions cause a
program interruption when they
all I/O instructions set the condition
code, and that all I/O instructions are
in the S instruction format.
Note: In the detailed descriptions of
the individual instructions, the mnemon
ic and the symbolic operand designation
for the assembler language are shown
with each instruction. In the case of
START
mnemonic and
nation.