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

Execution Techniques
Executing NCL Procedures
8–4 106160 Tandem Computers Incorporated
Implicit Execution Implicit NCL procedure execution refers to execution without using the NonStop
NET/MASTER MS START or EXEC command.
Examples of NCL procedures that are implicitly executed are:
MSGPROC NCL procedures
NCL procedures that replace NonStop NET/MASTER MS commands
Unrecognized commands
MSGPROC NCL Procedures
MSGPROC NCL procedures process messages flowing to an OCS window. Any user
may have a MSGPROC NCL procedure defined in their user ID definition record. If
so, the MSGPROC NCL procedure is implicitly executed when a user selects OCS from
the NonStop NET/MASTER MS primary menu.
NCL Procedures That Replace NonStop NET/MASTER MS Commands
You can write NCL procedures to replace NonStop NET/MASTER MS commands by
following these steps:
1. Write an NCL procedure with the same name as the NonStop NET/MASTER MS
command you want to replace.
2. Put the NCL procedure in the customized procedure library.
Note SYSPARMS CMDREPL searches only the customized procedure library and then the distribution
procedure library for an NCL procedure with the name of a NonStop NET/MASTER MS command that
you want to replace.
3. Explicitly preload the NCL procedure using the SYSPARMS CMDREPL
command. (You normally preload NCL procedures at NonStop NET/MASTER
MS startup.)
When the replaced command name is entered, the preloaded NCL procedure is
implicitly executed rather than the original command from the NonStop
NET/MASTER MS command table.