NET/MASTER Network Control Language (NCL) Reference Manual

MSGDEL
Verbs
106126 Tandem Computers Incorporated 3–131
MSGDEL The MSGDEL verb deletes the current message. This verb must be used within a
MSGPROC procedure executing in an OCS environment. It requests that a message
previously delivered for processing by a MSGREAD be deleted. The message, once
deleted, is not available for any further processing.
If a MSGDEL verb is used within an NCL procedure other than a MSGPROC NCL
procedure, a run-time error is issued.
A MSGDEL issued when no message is available is ignored.
MSGDEL
Consideration
For more information on the MSGDEL verb, refer to the NonStop NET/MASTER NCL
Programmer's Guide, which also contains examples of the use of the MSGDEL verb.
Example
In the following example, the current message is deleted:
MSGDEL