Channel
A None of the following states Available
Interruption pending I Interruption immediately available
from channel
Working
Not operational
WChannel operating in burst mode
NChannel not operational
A None of the following states
Subchannel
Available
Interruption pending I Information forCSW available in
subchannel
Working
Not operational
W Subchannel executing an operation
N Subchannel not operationalCondition Code Setting for Input / Output Instructions CONDITIONS Available
Interruption pend. in device
Device working
Device not operational
Interruption pend. in subchannel
For the addressed device
For another deviceSubchannel working Subchannd not operational
Interruption pend. in channelChannel working Channel not operational
Error
AAA
AAI
AAW
AAN
AIX
AWX
ANX
IXX
WXX
NXXCONDITION CODE FOR START TEST HALT TEST I/O I/O I/O CHAN 0,1 0 0 0 P' 1"'" 0 0 1"'" 1"'" 0 0 3 3 0 0 2 1"'" 0 0 2 2 0 0 2 2 1"'" 0 3 3 3 0 see note below 1
2 2 2 2
3 3 3 3Channel equipment error 1"'" 1 \) 1 "'" Channel programming error 1 "'" Device error 1 "'" 1 "'" NOTE: For the purpose of executing START I/O, TEST I/O, and HALT I/O, a channel containing a pending interruption
condition appears the same as an available channel, and the
condition codes for the IXX state arc the same as for the AXX
state, where the X's represent the states of the subchannel and
the device. As an example, the condition code for the IAA
state is thesame as for the AAA state. ""'The CS\" or its status portion is stored at location 64 during
execution of the instruction.
-The condition cannot he identified during execution of the in
struction.Flag Setting for Chaining Operations
CD ACTION
o
CC
o No chaining. The currentCCW is the last.
The operation is terminated
o
1
1
1
o
1Command chaining
Data chaining
Data chainingContent of Channel Status Word Address Field CONDITION Channel control check Status stored by START I/O Status stored by HALT I/O Invalid CCW address spec. in TIC Invalid CCW address in TIC Invalid CGW address
generated
Invalid command code
Invalid count
Invalid data address
154CONTENT U npredicta ble
UnchangedUnchanged Address of TIC + 8
Address ofTIC + 8
Address of first invalidCCW +8
Address of invalidCCW + 8
Address of invalidCCW + 8
Address of invalidCCW + 8 CONDITION Invalid CCW format
Invalid sequence -2TIC's Protcction check Chaining check
Termination under count
control
Termination byI/O device
Termination by HALTI/O Suppression of command
chaining due to unit check
or unit exception with de
vice end or control unit end
Termination on command
chaining by attention, unit
check, or unit exception
Program-controlled interrup-
tion
Interface control checkCh. end after HIO on seI. ch. Control unit end
Dcvice end
Attention
BusyStatus modifier CONTENT Address of invalid CCW + 8
Address of secondTIC + 8
Address of invalidCCW + 8
Address of last-usedCCW + 8
Address of last-usedCCW + 8
Address of last-usedCCW + 8
Address of last-usedCCW + 8
Address of lastCCW used in
the completed operation + 8
Address ofCCW specifying
the new operation + 8
Address of last-usedCCW + 8
Address of last-usedCCW + 8 Zero Zero Zero Zero Zero Zero Content of Channel Status Word Count Field CONDITION Channel control check
Status stored bySTART I/O Status stored by HALT I/O Program check
Protection checkChaining check
Termination under count
control
Termination byI/O device
Termination by HALTI/O Suppression of command chaining duc to unit check
or unit exception with device
end or control unit end
Termination on command
chaining by attention, by
unit check, or unit
exception
Program-controlled inter-
ruption
Interface control check
eh. endafter HIO on sel. ch. Control unit end
Devicc end
AttentionBusy Status Modifier CONTENT Unpredictable Unchanged Unchanged Unpredictable U npredicta ble Correct Correct Correct Correct Correct. Residual count of last CCW used in the completed
operation.Correct. Original count of CCW specifying the new
operation.
UnpredictableCorrect Zero Zero Zero Zero Zero Zero Indication of Busy Condition in Channel Status Word
The table lists the conditions when the busy bit (B)
appears in the csw and when it is accompanied by
the status-modifier bit(8M). Two hyphens (--) incli
cate that the busy bit is off; an asterisk(#) indicates
that csw status is not stored or anI/O interruption
cannot occur; the (cl) indicates that the interruption
condition is cleared and the status appears in the csw.
The abbreviation DE stands for device end, and cu
stands for control unit.
A None of the following states Available
Interruption pending I Interruption immediately available
from channel
Working
Not operational
W
N
A None of the following states
Subchannel
Available
Interruption pending I Information for
subchannel
Working
Not operational
W Subchannel executing an operation
N Subchannel not operational
Interruption pend. in device
Device working
Device not operational
Interruption pend. in subchannel
For the addressed device
For another device
Interruption pend. in channel
Error
AAA
AAI
AAW
AAN
AIX
AWX
ANX
IXX
WXX
NXX
2 2 2 2
3 3 3 3
condition appears the same as an available channel, and the
condition codes for the IXX state arc the same as for the AXX
state, where the X's represent the states of the subchannel and
the device. As an example, the condition code for the IAA
state is the
execution of the instruction.
-The condition cannot he identified during execution of the in
struction.
CD ACTION
o
CC
o No chaining. The current
The operation is terminated
o
1
1
1
o
1
Data chaining
Data chaining
generated
Invalid command code
Invalid count
Invalid data address
154
Unchanged
Address of
Address of first invalid
Address of invalid
Address of invalid
Address of invalid
Invalid sequence -2
Termination under count
control
Termination by
Termination by HALT
chaining due to unit check
or unit exception with de
vice end or control unit end
Termination on command
chaining by attention, unit
check, or unit exception
Program-controlled interrup-
tion
Interface control check
Dcvice end
Attention
Busy
Address of second
Address of invalid
Address of last-used
Address of last-used
Address of last-used
Address of last-used
Address of last
the completed operation + 8
Address of
the new operation + 8
Address of last-used
Address of last-used
Status stored by
Protection check
Termination under count
control
Termination by
Termination by HALT
or unit exception with device
end or control unit end
Termination on command
chaining by attention, by
unit check, or unit
exception
Program-controlled inter-
ruption
Interface control check
eh. end
Devicc end
Attention
operation.
operation.
Unpredictable
The table lists the conditions when the busy bit (B)
appears in the csw and when it is accompanied by
the status-modifier bit
cate that the busy bit is off; an asterisk
that csw status is not stored or an
cannot occur; the (cl) indicates that the interruption
condition is cleared and the status appears in the csw.
The abbreviation DE stands for device end, and cu
stands for control unit.