DIAGNOSE
Code
X'54' -- Control
The
Function
of
the
P
A2
Key
DIAGNOSE Code X'S4' controls the function of the PA2
key. The P A2 key can be used either to simulate an external
interrupt to a virtual machine or to clear the output area of a
display screen.
The function performed depends upon how Rx
is
specified
when
DIAGNOSE
Code X'S4'
is
issued.
If
Rx contains a
nonzero value, the P A2 key simulates an external interrupt
to
the virtual machine.
If
Rx contains a value of zero, the
P A2 key clears the output area of the display screen.
The external interrupt
is
simulated only when the display
screen
is
in the VM READ,
HOLD,
or
MORE
status and the
TERMINAL
APL
ON
command has been issued.
Appendix A. CP / CMS Interface
A-19