Modifying Diagnostic Messages
Several methods are available to modify diagnostic message behavior and output.
The ERROR macro command can be used to output a diagnostic message given a particular diagnostic number.
The $ERRMSG macro system variable can be used to completely disable diagnostic messages.
The $FERSEV macro function can be used to get or set the diagnostic severity associated with a particular diagnostic number.
The $FERSTA macro function can be used to get or set the diagnostic enabled/
disabled state associated with a particular diagnostic number.
The above facilities are run-time options to alter diagnostic message handling for a particular job. The cer270.err file provided with the Control Emulator installation can be used as a starting point (see “Error File”) to permanently alter standard diagnostic message severity and/or text, or add new diagnostic messages.