Runtime messages are designed to provide information about conditions
and possible solutions to errors that occur in your routine.
Language Environment common
routines and language-specific runtime routines issue runtime messages.
All runtime messages in
Language Environment are composed
of the following:
- A 3-character facility ID used by all messages generated under Language Environment or a
particular Language Environment-conforming
product. This prefix indicates the Language Environment component
that generated the message, and is also the facility ID in the condition
token. Language Environment uses
the ID of the condition token to write the message associated with
the condition. For more information about the condition token, see Using condition tokens.
- A message number that identifies the message associated with the
condition.
- A severity level that indicates the severity of the condition
that was raised.
The format of every runtime message is
FFFnnnnx - FFF
- Represents the facility ID. In z/OS, facility
IDs that begin with A through I are reserved for IBM® use.
- nnnn
- Represents the message number.
- x
- Represents the severity code. This character indicates the level
of severity (1, 2, 3, or 4) of the message.
Table 1 lists the severity codes, corresponding
severity levels, explanations of the severity codes, and the default
actions that are taken if conditions corresponding to each level of
severity are unhandled.
Table 1. Language Environment runtime
message severity codesSeverity code |
Level of severity |
Explanation |
Default action if condition unhandled |
---|
I |
0 |
An informational message (or, if the entire token
is zero, no information). |
No message issued. |
W |
1 |
A warning message; service completed, probably
successfully. |
No message issued. Processing continues for all
languages. |
E |
2 |
Error detected, correction attempted, service
completed, perhaps successfully. |
Issues message and terminates thread. |
S |
3 |
Severe error detected, service incomplete with
possible side effects. |
Issues message and terminates thread. |
C |
4 |
Critical error detected, service incomplete with
condition signaled. |
Issues message and terminates thread. |
Language Environment messages
can appear even though you made no explicit calls to Language Environment services.
Some Language Environment conditions
have qualifying data associated with the instance specific information
(ISI) for the condition. For more information about qualifying data,
see q_data structure for abends.