the condition responsible for the termination and may
or may not indicate incorrect length. When a data er
ror has been detected before termination due to pro
gram check, protection check, or chaining check, both
data check and the programming error are identified.
If the csw fetched on command chaining contains
thePCI flag but a programming error in the contents of
the csw or an unusual condition signaled by the de
vice precludes the initiation of the operation, thePCI bit appears in the csw associated with the interruption
condition. Similarly, if device status or a programming
error in the contents of the ccw causes the command
to be rejected during execution ofSTART I/O, the csw
stored bySTART I/O contains the PCI flag. The I/O flag,
however, is not included in the csw if a programming
error in the contents of theCAW prevents the oper
ation from being initiated.
Conditions detected by the channel are not related
to those identified by theI/O device.
The following table summarizes the handling of
status bits. The table lists the states and activities that
can cause status indications to be created and the
methods by which these indications can be placed in
the csw.
TIME AND METHODOF CREATING AND STORING STATUS INDICATIONS WHEN WHEN UPON TERMINATION OF OPERATION DURING BY BY BY BY I/O I/O IS SUB CHANNEL AT AT CONTROL AT COMMAND START TEST HALT INTER- STATUS IDLE WORKING SUBCIIANNEL UNIT DEVICE CHAINING I/O I/O I/O RUPTION ---------- Attention Co Status modifier
Control unit end
Busy
Channel endCo Device end Co Unit check C Unit exception C
Program-controlled interruptionCo C
Incorrect length C C
Program check C C
Protectioncheck C C
Channel data checkCo C
Channel control checkCo Co Co Interface control check Co Co Co Chaining check C C NOTES C-The channel or the device can create or present the status
condition at the indicated time. ACSW or its status portion is
not necessarily stored at this time.
Condition such as channel end and device end are created at
the indicated time.Other conditions may have been created
previously, but are made accessible to the program only at the
indicated time. Examples of such conditions are program check
and channel data check, which are detected while data are
transferred, but are made available to the program only with
channel end, unless thePCI flag or equipment malfunctioning
have caused an interruption condition to be generated earlier.S- The status indication is stored in the CSW at the indicated
time.
AnS appearing alone indicates that the condition has been
created previously. The letter C appearing with theS indicates
that the status condition did not necessarily exist previously in
the form that causes the program to be alerted, and may have
116
CCo S S S C C CS CS CS S C1) CS CS CS S C CS CS CS S C1)H COt Ct S S S Co C l' C1' S s S C C Co CS CS CS C C Co CS S S C CS S S S S Co CS S S S S S S C1) Co Co CS CS CS CS C1) Co Co Cs CS Cs CS S S been created by the I/O instruction or I/O interruption. For
example, equipment malfunctioning may be detected during anI/O interruption, causing channel control check or interface
control check to be indicated; or a device such as the2702 Transmission Control Unit may signal the control-un it-busy
condition in response to interrogation by anI/O instruction,
causing status modifier, busy, and control unit end to be indi
cated in theCSW. 1) -The status condition generates or, in the case of channel
data check, may generate an interruption condition.
Channel end and device end do not result in interruption
conditions when command chaining is specified and no unusual
conditions have becn detected.1'- This status indication can be created at the indicated time
only by an immediate operation.
II-When an operation on the selector channel has been termi
natcd by HALTI/O, channel end indicates the termination of
thcdatu-hundling portion of the operation at the control unit.
or may not indicate incorrect length. When a data er
ror has been detected before termination due to pro
gram check, protection check, or chaining check, both
data check and the programming error are identified.
If the csw fetched on command chaining contains
the
the csw or an unusual condition signaled by the de
vice precludes the initiation of the operation, the
condition. Similarly, if device status or a programming
error in the contents of the ccw causes the command
to be rejected during execution of
stored by
however, is not included in the csw if a programming
error in the contents of the
ation from being initiated.
Conditions detected by the channel are not related
to those identified by the
The following table summarizes the handling of
status bits. The table lists the states and activities that
can cause status indications to be created and the
methods by which these indications can be placed in
the csw.
TIME AND METHOD
Control unit end
Busy
Channel end
Program-controlled interruption
Incorrect length C C
Program check C C
Protection
Channel data check
Channel control check
condition at the indicated time. A
not necessarily stored at this time.
Condition such as channel end and device end are created at
the indicated time.
previously, but are made accessible to the program only at the
indicated time. Examples of such conditions are program check
and channel data check, which are detected while data are
transferred, but are made available to the program only with
channel end, unless the
have caused an interruption condition to be generated earlier.
time.
An
created previously. The letter C appearing with the
that the status condition did not necessarily exist previously in
the form that causes the program to be alerted, and may have
116
C
example, equipment malfunctioning may be detected during an
control check to be indicated; or a device such as the
condition in response to interrogation by an
causing status modifier, busy, and control unit end to be indi
cated in the
data check, may generate an interruption condition.
Channel end and device end do not result in interruption
conditions when command chaining is specified and no unusual
conditions have becn detected.
only by an immediate operation.
II-When an operation on the selector channel has been termi
natcd by HALT
thc