NET/MASTER Network Control Language (NCL) Reference Manual

EMSCONT
Verbs
106126 Tandem Computers Incorporated 3–57
DATA=
rest-of-statement
replaces only the text of the message received from EMSREAD. The data string is
regarded as being everything to the right of DATA= to the end of the statement.
Note DATA, if specified, must be the last keyword in this verb.
Considerations
The &SYS.FDBK system variable is set after execution with the following values:
Return Code Meaning
0 The message was sent successfully.
4 The message was not sent. The message originated or arrived from the
specified link or was already sent to this link.
8 The specified link or domain was not found.
12 The ISR link was not enabled for outbound EMS traffic.
16 Shortage of storage—message not sent.
20 ISR queue overflow—message not sent.
24 An EMSDEL verb has deleted the message associated with the EMSCONT
verb, or an EMSCONT verb has been used before any EMSREAD processing.
28 ISR internal error.
When EMS messages are delivered to connected systems, the Inter-System Routing
facility (ISR) is used to carry the EMS message traffic. This facility allows
centralized collection of EMS message traffic.
See also EMSALERT, EMSDEL, EMSREAD, and EMSSEND.
For more information on the Event Management Service (EMS) verbs, refer to the
NonStop NET/MASTER NCL Programmer's Guide, which also contains examples of
how to use these verbs.
Example
The following example redirects all messages received for processing by EMSREAD
through the link CENTRAL:
DO FOREVER
EMSREAD
EMSCONT LINK=CENTRAL
END