MESSAGE

From VSI OpenVMS Wiki
Jump to: navigation, search

MESSAGE is a utility in OpenVMS that allows you to supplement OpenVMS system messages with your own messages.

Syntax

MESSAGE  file-spec[,...]

The MESSAGE command compiles a .MSG source file into an object modules. The message object module can then be linked with the facility object module to produce one executable image file.

Message Source Files

The message source file contains statements or directives and the information included in the message, the message code, and the message symbol. The default extension for message source files is .MSG.

The message source file statements are as follows:

• Facility directive (.FACILITY) • Severity directive (.SEVERITY) • Base message number directive (.BASE) • Message definition message-name • End directive (.END) • Literal directive (.LITERAL) • Identification directive (.IDENT) • Listing directives • Title directive (.TITLE) • Page directive (.PAGE)

Expressions similar to F$FAO() can be used in the message source file.

See also