DIAGNOSE Code X'5C' -- Error
Message
Editing
CODE
ON
ON
OFF
OFF
Execution
of
DIAGNOSE
Code
X'5C'
causes the editing
of
an error message according
to
the user's setting
of
the
EMSG function:
Rx
contains the address of the message
to
be edited.
Ry
contains the length of the message to be edited.
The
EMSG
options
CODE
and
TEXT
are tested, and
DMKHVC
tests the
VMMLEVEL
field
of
the VMBLOK.
Rx and Ry are modified as follows:
LEVEL
Registers
on
Return
TEXT
Rx
Ry
ON
no change no change
OFF
no change
10 (length
of
code)
ON
pointer
to
text
part
of
length
of
text
alone
message
OFF
N/A
0
Note:
DIAGNOSE
Code
X'5C'
does not write the message;
it merely rearranges the starting pointer and length.
For
CMS error messages, a console write
is
performed following
the
DIAGNOSE
unless
Ry
is returned with a value
of
O.
Appendix
A.
CP/CMS
Interface A-27