stores  logout  information  using  the  IOEl   address,  then  this  field  is  set  to  zero.  
When the channel detects an equipment
malfunction during the execution ofSTORE   CHANNEL   10,   the  channel  causes  the  
status portion, bits 32-47, of theCSW   to  be   replaced  by  a  new  set  of  status  
bits. With the exception of the
channel-control-check bit (bit 45),
which is stored as a one, all bits in
the status field are stored as zeros.
The contents of the other fields of theCSW   are  not  changed.  When   STORE   CHANNEL   10   cannot  be   executed  
because of a pending logout which
affects the operational capability of
the channel, a fullCSW   is  stored.  The  
fields in theCSW   are  all  set  to  zero,  
with the exception of the logout-pending
bit and the channel-control-check bit,
which are set to ones.No   channel  
logout occurs in this case.
Program Exceptions:
Privileged operation
ResultingCondition   Code:   o  Channel   IO   correctly  stored  
1CSW   stored  
2Channel   activity  prohibited  
storing10   3  Not  operational  
The condition code set bySTORE   CHANNEL   IO   for  all  possible  states  of  the  I/O   system  is  shown  in  the  figure  "Condition   Codes   Set  by  STORE   CHANNEL   10."   See  
"States of the Input/Output System" for
a detailed definition of the A, I,W,   and  N   states.  Channell:   I   :   I   ~   I   :   I   A  Available  
I Interruption pendingW   Working  
N Not operational•   When   the  channel  is  unable  to  store  
the channelIO   because  of  its  work  
ing state or because it contains a
pending interruption condition,
condition code 2 is set. If the
working or interruption-pending
state does not preclude the storing
of the channel10,   condition  code  0   is  set.  Condition   Codes   Set  by  STORE   CHANNEL   ID  
TESTCHANNEL   TCH   [S]  '9FOO'   o  16  20   31  
The condition code in the PSW is set to
indicate the state of the addressed
channel. The state of the channel is
not affected, and no action is caused.
Bits 8-14 of the instruction are
ignored.
Bits 16-23 of the second-operand address
identify the channel to which the
instruction applies. Bit positions
24-31 of the address are ignored.
TheTCH   function  is  performed  by  the  
TESTCHANNEL   instruction  and,   on  some  
channels and under certain
circumstances, byCLEAR   CHANNEL.   The  TCH   function  inspects  only  the  state  
of the addressed channel. It tests
whether the channel is operating in the
burst mode, is interruption-pending, or
is not operational. When the channel is
operating in the burst mode and contains
an interruption condition, the condition
code is set as for operation in the
burst mode. When none of these situ
ations exist, the available state is
indicated.No   device  is  selected,  and,   on  the  multiplexer  channel,  the  subchan  
nels are not interrogated.
Program Exceptions:
Privileged operation
Resulting ConditionCode:   o  Channel   available  
1 Interruption or logout condi
tion in channel
2Channel   operating  in  burst  mode  
3Channel   not  operational  
The condition code set by TESTCHANNEL   for  all  possible  states  of  the  addressed  
channel is shown in the figure"Condi   tion  Codes   Set  by  TEST  CHANNEL."   See  
the section "States of the Input/Output
System" in this chapter for a detailed
definition of the A, I,W,   and  N   states.  Channell~   ---:--~---~--~I-:~I--:~I   A  Available  
I Interruption pendingW   Working  N   Not  operational  
ConditionCodes   Set  by  TEST  CHANNEL   Chapter   13.  Input/Output  Operations  13-33  
When the channel detects an equipment
malfunction during the execution of
status portion, bits 32-47, of the
bits. With the exception of the
channel-control-check bit (bit 45),
which is stored as a one, all bits in
the status field are stored as zeros.
The contents of the other fields of the
because of a pending logout which
affects the operational capability of
the channel, a full
fields in the
with the exception of the logout-pending
bit and the channel-control-check bit,
which are set to ones.
logout occurs in this case.
Program Exceptions:
Privileged operation
Resulting
1
2
storing
The condition code set by
"States of the Input/Output System" for
a detailed definition of the A, I,
I Interruption pending
N Not operational
the channel
ing state or because it contains a
pending interruption condition,
condition code 2 is set. If the
working or interruption-pending
state does not preclude the storing
of the channel
TEST
The condition code in the PSW is set to
indicate the state of the addressed
channel. The state of the channel is
not affected, and no action is caused.
Bits 8-14 of the instruction are
ignored.
Bits 16-23 of the second-operand address
identify the channel to which the
instruction applies. Bit positions
24-31 of the address are ignored.
The
TEST
channels and under certain
circumstances, by
of the addressed channel. It tests
whether the channel is operating in the
burst mode, is interruption-pending, or
is not operational. When the channel is
operating in the burst mode and contains
an interruption condition, the condition
code is set as for operation in the
burst mode. When none of these situ
ations exist, the available state is
indicated.
nels are not interrogated.
Program Exceptions:
Privileged operation
Resulting Condition
1 Interruption or logout condi
tion in channel
2
3
The condition code set by TEST
channel is shown in the figure
the section "States of the Input/Output
System" in this chapter for a detailed
definition of the A, I,
I Interruption pending
Condition
 
             
            












































































































































































































































































































































































































































































































































































