SET WARNINGS

Enables or suppresses the display of warning messages.

Syntax

SET WARNINGS ON|OFF

Comments

The WARNINGS option is set ON by default.

When WARNINGS is ON, warning messages are displayed. Setting WARNINGS to OFF suppresses the display of warning messages. Warning messages are of the form

***Warning*** ...

All types of messages can be simultaneously turned on or off with a SET MESSAGES command.

The SET WARNINGS command has no effect on the logging of messages in the "error trace" file. Message logging is governed by the configuration option error trace.

Example

set messages on
set warnings off

The preceding commands set error and information messages on, but warnings off.

 

Related Topics