The ZMESSAGE command signals a specified condition.
The format of the ZMESSAGE command is:
ZM[ESSAGE][:tvexpr] intexpr [:expr...][,...]
The optional truth-valued expression immediately following the command is a command postconditional that controls whether or not GT.M executes the command.
The required integer expression specifies the exception condition to signal.
The additional expressions specify one or more strings passed as ASCII text to the VMS message formatter by means of descriptors; for example, if the message associated with the condition contains a corresponding FAO !AD directive, the message facility inserts each text string in the message. $ZMESSAGE() function returns the message text with the substitution directives for a given message number.
An indirection operator and an expression atom evaluating to a list of one or more ZMESSAGE arguments form a legal argument for a ZMESSAGE.
For more information on Format ASCII Output (FAO), refer to the description of the F$FAO lexical function in the VMS DCL Dictionary.