NET/MASTER Network Control Language (NCL) Programmer's Guide

Operations Available Through NCL
Introduction to NCL
1–6 106160 Tandem Computers Incorporated
MSGPROC, which is an NCL procedure that intercepts and processes messages
destined for an OCS window.
System-level NCL procedures can edit, discard, act upon, or forward an event message. A
system-level NCL procedure can execute another NCL procedure to deal with a certain
message, if further processing is required.
Using NCL, you can also generate an event message to send to the destination you specify,
such as EMSPROC or $0.
Maintaining Online
Documentation
If you wish, you can use NCL procedures to maintain online documentation in the
form of a series of comments. Comments are NCL statements that are not executed
when an NCL procedure is executed.
Replacing NonStop
NET/MASTER MS
Commands
You can replace a NonStop NET/MASTER MS command with an NCL procedure of
the same name. This is called command replacement.
Command replacement allows you to tailor NonStop NET/MASTER MS commands.
For example, you may decide to replace the NonStop NET/MASTER MS
SHUTDOWN command with an NCL procedure called SHUTDOWN. You may
decide you want to include a timer command in the NCL procedure that warns users
at one-minute intervals that shutdown is imminent.
When using command replacement, the command replaced by an NCL procedure
operates in exactly the same way in the NCL procedure that replaces it.