Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual—522629-013
11-12
OLDSYSMSG_TO_NEWSYSMSG_ Procedure
3 Bounds error; error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
4 The supplied system message is not supported by this procedure; no
conversion was performed.
oldmsg:length input:input
STRING .EXT:ref:*, INT:value
is the message to be converted.
oldmsg must be exactly length bytes long.
newmsg:maxlen output:input
STRING .EXT:ref:*, INT:value
returns the equivalent D-series system message, if any.
maxlen is the length in
bytes of the string variable
newmsg.
newmsg-length output
INT .EXT:ref:1
returns the actual length of the returned D-series system message, or 0 if the
supplied message has no equivalent.
error-detail output
INT .EXT:ref:1
for some returned errors, contains additional information. See
error, above.
Considerations
•
A 250-byte buffer is adequate to hold any of the new messages. This value can
always be used for the
maxlen of newmsg.
•
The old messages and new messages can be mapped one-to-one with the
exception of the network status change message (-8). Depending on its content,
the network status change message is converted into one of four new messages
(see below).
•
OLDSYSMSG_TO_NEWSYSMSG_ converts the following system messages:
C-series message D-series message
-5 Process deletion: STOP -
101
Process deletion: STOP
-6 Process deletion: ABEND -
101
Process deletion: ABEND
-8 Network status change (all
processors down)
-
110
Loss of communication with
node