Systems Reference Library IBM System/360 Principles of Operation
Systems Reference Library IBM System/360 Principles of Operation
Systems Reference Library IBM System/360 Principles of Operation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
as conditions for the execution <strong>of</strong> the I/O instruction.<br />
Each composite state is identified in the following discussion<br />
by three alphabetic characters; the first character<br />
position identifies the state <strong>of</strong> the channel, the<br />
second identifies the state <strong>of</strong> the subchannel, and the<br />
third refers to the state <strong>of</strong> the device. Each character<br />
position can contain A, I ,w, or N, denoting the state<br />
<strong>of</strong> the component. The symbol x in place <strong>of</strong> a letter<br />
indicates that the state <strong>of</strong> the corresponding component<br />
is not significant for the execution <strong>of</strong> the instruction.<br />
Available (AAA): The addressed channel, subchannel,<br />
control unit, and I/O device are operational, are<br />
not engaged in the execution <strong>of</strong> any previously initiated<br />
operations, and do not contain any pending interruption<br />
conditions.<br />
Interruption Pending in Device (AAI) or Device<br />
Working (AA W): The addressed I/O device or control<br />
unit is executing a previously initiated operation or<br />
contains a pending interruption condition. The addressed<br />
sub channel and channel are available. These<br />
situations are possible:<br />
1. The device is executing an operation after signaling<br />
the channel-end condition, such as rewinding<br />
tape or seeking on a disk file.<br />
2. The control unit associated with the device is<br />
executing an operation after signaling the channelend<br />
condition, such as backspacing file on a magnetic<br />
tape unit.<br />
3. The device or control unit is executing an operation<br />
on another sub channel or channel.<br />
4. The device or control unit contains the deviceend,<br />
control-unit-end, or attention condition or, on<br />
the selector channel, the channel-end condition associated<br />
with an operation terminated by HALT I/O.<br />
Device Not <strong>Operation</strong>al (AAN): The addressed I/O<br />
device is not operational. A device appears not operational<br />
when no control unit recognizes the address.<br />
This occurs when the control unit is not provided in<br />
the system, when power is <strong>of</strong>f in the control unit, or<br />
when the control unit has been logically switched <strong>of</strong>f<br />
the I/O interface. For some types <strong>of</strong> devices, the notoperational<br />
state is indicated also when the addressed<br />
device is not installed on the control unit. The addressed<br />
subchannel and channel are available.<br />
For devices such as magnetic tape units, the device<br />
appears operational as long as the control unit associated<br />
with the addressed device is operational. If<br />
the device is not installed or has been logically removed<br />
from the control unit, selection <strong>of</strong> the device<br />
for TEST I/O or a command other than sense causes<br />
the unit-check indication.<br />
Interruption Pending in Subchannel (AIX): An interruption<br />
condition is pending in the addressed sub-<br />
channel because <strong>of</strong> the termination <strong>of</strong> the portion <strong>of</strong><br />
the operation involving the use <strong>of</strong> channel facilities.<br />
The subchannel has information for a complete csw.<br />
The interruption condition can indicate termination<br />
<strong>of</strong> an operation at the addressed I/O device or at<br />
another device on the subchannel. In the case <strong>of</strong> the<br />
multiplexor channel, the channel is available. The<br />
state <strong>of</strong> the addressed device is not significant, except<br />
when TEST I/O is addressed to the device associated<br />
with the terminated operation. The device associated<br />
with the terminated operation normally is in the interruption<br />
pending state.<br />
On the selector channel the existence <strong>of</strong> an interruption<br />
condition in the sub channel immediately<br />
causes the channel to assign to this condition the<br />
highest priority for I/O interruptions and, hence, leads<br />
to the state IIX.<br />
Sub channel Working (AWX): The addressed subchannel<br />
is executing a previously initiated operation<br />
or chain <strong>of</strong> operations in the multiplex mode and has<br />
not yet reached the channel end for the last operation.<br />
All devices sharing the currently operating control<br />
unit appear in the working state but, for shared<br />
subchannels, the states <strong>of</strong> devices not attached to the<br />
control unit are not known. The addressed channel is<br />
available.<br />
The sub channel-working state does not occur on the<br />
selector channel since all operations on the selector<br />
channel are executed in the burst mode and cause the<br />
channel to be in the working state ( wwx) .<br />
Subchannel Not <strong>Operation</strong>al (ANX): The addressed<br />
sub channel on the multiplexor channel is not operational.<br />
A subchannel is not operational when it is not<br />
provided in the system. The channel is available.<br />
This state cannot occur on the selector channel.<br />
Interruption Pending in Channel (IXX): The addressed<br />
channel has established which device will<br />
cause the next I/O interruption from this channel.<br />
The state where the channel contains a pending interruption<br />
condition is distinguished only by the instruction<br />
TEST CHANNEL. This instruction does not<br />
cause the subchannel and I/O device to be interrogated.<br />
The other I/O instructions consider the channel<br />
available when it contains a pending interruption<br />
condition.<br />
Channel Working (WXX): The addressed channel<br />
is operating in the burst mode. In the case <strong>of</strong> the<br />
multiplexor channel, a burst <strong>of</strong> bytes is currently<br />
being handled. In the case <strong>of</strong> the selector channel, an<br />
operation or a chain <strong>of</strong> operations is currently being<br />
executed, and the channel end for the last operation<br />
has not yet been reached. The states <strong>of</strong> the addressed<br />
device and, in the case <strong>of</strong> the multiplexor channel,<br />
<strong>of</strong> the sub channel are not significant.<br />
Input/Output <strong>Operation</strong>s 89