Returns a message string associated with a specified status code .

The format for the $ZMESSAGE function is:


$ZMESSAGE() provides a tool for examining the message and/or mnemonic associated with a particular message code as reported in $ZSTATUS.

The $ZSTATUS Intrinsic Special Variable holds the message code and the message of the last non-Direct Mode GT.M error. For more information on $ZSTATUS, refer "Intrinsic Special Variables".

Examples of $ZMESSAGE()


GTM>write $zmessage(36)

Interrupted system call

This uses $ZMESSAGE() to display the message string corresponding to code 36.