MESSAGE

From VSI OpenVMS Wiki
Revision as of 11:42, 19 July 2023 by Jane.doe (talk | contribs) (Created page with "'''MESSAGE''' is a utility in OpenVMS that allows you to supplement OpenVMS system messages with your own messages. =Syntax= MESSAGE file-spec[,...] The...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.