Enables or suppresses the display of all system messages.
SET MESSAGES ON|OFF
The MESSAGES option is set ON by default.
When MESSAGES is ON, all system messages (errors, warnings, information) are displayed. Setting MESSAGES to OFF suppresses the display of all messages.
The display of specific message types may be turned on or off using the SET ERRORS, SET INFORMATION, and SET WARNINGS commands.
The SET MESSAGES command has no effect on the logging of messages in the “error trace” file. Message logging is governed by the configuration option error trace.
set messages on
set warnings off
The preceding commands set error and information messages on, but warnings off.