+---------------+ V | >>-.---.-.-----CHANGE-MESSAGE--"error svrty"--.->< +-/-+ +-NO--CHANGE-MESSAGE-----------------+
error | Prefix and number of the message to be changed, or ALL for all messages.
Note: You can use the following prefixes to affect their corresponding error types: CH, DB, EC, ES, SQ. If the prefix is not specified,
CH is assumed.
|
svrty | New severity:
|
Default: | NOCHANGE-MESSAGE |
Phase: | Syntax check |
$SET: | Any |
CHANGE-MESSAGE overrides the general settings of directives such as FLAGAS.
CHANGE-MESSAGE"ALL R" CHANGE-MESSAGE"CH100 N ES135 E 10 S"
The messages affected in the last example would be COBCH0100, COBES0135 and COBCH0010.
Comments:
CHANGE-MESSAGE can take as many parameter pairs as required. If CHANGE-MESSAGE is specified multiple times, the effects are cumulative.
CHANGE-MESSAGE replaces the HIDE-MESSAGE Compiler directive. However, if you use HIDE-MESSAGE in conjunction with CHANGE-MESSAGE, the effects are also cumulative.
Serious errors cannot have their severity reduced unless they were changed to serious (from a lower severity) by another CHANGE-MESSAGE directive or the FLAGAS directive.