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

Using Timer Commands to Execute NCL Procedures
Executing NCL Procedures
8–6 106160 Tandem Computers Incorporated
The screen lists the ZEX0801N NCL procedure using the LIST command from the
NonStop NET/MASTER MS command table, replaces the LIST command with the
LIST NCL procedure by using the SYSPARMS CMDREPL command, lists the NCL
procedure again using the preloaded NCL procedure, and unloads the preloaded NCL
procedure by using the SYSPARMS UNLOAD command.
Note If the NCL process that replaces the command executes the command, it executes the command from the
NonStop NET/MASTER MS command table. It does not execute itself again.
Caution Before replacing a NonStop NET/MASTER MS command, you should thoroughly test the NCL procedure
that replaces it. The SYSPARMS CMDREPL command does not detect errors in logic when it preloads
an NCL procedure.
Unrecognized Commands
If a NonStop NET/MASTER MS system encounters a command string that is
unrecognized, it can assume the command string is an NCL procedure if the value of
the SYSPARMS AUTOEXEC command is YES or START. If so, NonStop
NET/MASTER MS attempts to execute the NCL procedure by issuing an implicit
START command.
Using Timer
Commands to Execute
NCL Procedures
NonStop NET/MASTER MS has two timer commands—the AT command and the
EVERY command. You can use these commands to execute other NonStop
NET/MASTER MS commands at a certain time (AT) or a certain frequency (EVERY).
Commands that you can execute using the AT and EVERY command include the
START and EXEC commands. This means you can control the time at which NCL
procedures are executed.
The following example uses the EVERY command to execute the LINKSCAN NCL
procedure at 10-minute intervals:
EVERY :10 KEEP=MON TID=SCAN CMD=START LINKSCAN