Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


The _lastmsg built-in variable is a data element (that is, a simple array) that contains all of the messages written in the transaction log for the last network-oriented or file-oriented command that was issued.

Whenever a new network- or file-oriented command is issued, the contents of _lastmsg is cleared before the command is processed so that _lastmsg will contain only messages relating to that command.

If UDM encounters a print command while processing a network- or file-oriented command, the value of the msg parameter in that command is appended to _lastmsg as a new line.

The contents of _lastmsg can be listed at any time by issuing the following command:


  • No labels