The SET MESSAGE command specifies which message fields the OpenVMS
system displays. The message format is as follows:
When a process is created, the default is to display all four message
fields: facility, severity, identification, and text. To control which
fields of a message are displayed, specify the appropriate qualifiers.
For example, to omit the FACILITY field in message displays, specify
SET MESSAGE /NOFACILITY.
By including the SET MESSAGE command in your login command file, you
can select specific portions of the messages for your process.
Use the SET MESSAGE command, also, to override or supplement system
messages. Whenever any software detects an error and invokes the
$GETMSG system service, the message files are searched in the following
order: image message sections first, process-permanent message files
second, and the system message file last. Thus, with the SET MESSAGE
command, you can introduce messages earlier in the searching order; you
can either override or supplement the system messages. (Note that the
new message definitions affect only your process.)
If a process-permanent message file exists when you specify the SET
MESSAGE command with a file specification, the old file is removed and
the new file is added.
The message definitions you specify must result from a successful
compilation with the MESSAGE command. For full details on how to create
your own messages with the Message utility, see the HP OpenVMS Command Definition, Librarian, and Message Utilities Manual.