Equinox Online Help - Language Reference - A to Z

Home

DeleteAllMessages

Applies to
SyntaxDeleteAllMessages
Action[Statement] Deletes all messages currently held in the server message queue
ScopeUsable anywhere.
Notes

If an error occurs, an error number is stored in the SysError system workarea.

CategoryMessages
See Also DeleteMessage, DisplayMessage, MessageID, MessageMaxLength, MessageQueueSize, MessageRetrieved, MessagesWaiting, QueueMessage, RetrieveMessage
Example

In the following example, the server queue is deleted if the workarea DeleteQueue is set to one.

If DeleteQueue Then DeleteAllMessages