Difference between revisions of "MESSAGE"

From VSI OpenVMS Wiki
Jump to: navigation, search
(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...")
 
 
Line 23: Line 23:
  
 
Expressions similar to [[F$FAO()]] can be used in the message source file.
 
Expressions similar to [[F$FAO()]] can be used in the message source file.
 +
 +
=See also=
 +
* [https://docs.vmssoftware.com/vsi-openvms-command-definition-librarian-and-message-utilities Command Definition, Librarian, and Message Utilities]

Latest revision as of 11:45, 19 July 2023

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