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

Using Virtual Users to Execute NCL Procedures
Executing NCL Procedures
106160 Tandem Computers Incorporated 8–7
The following screen shows the results of the EVERY command, how you use the
SHOW TIMER command to display timer commands in the timer queue, and the
results of executing the START LINKSCAN command once:
(15:37) --------------------- OPERATOR CONTROL SERVICES ---------------------
EVERY :10 KEEP=MON TID=SCAN CMD=START LINKSCAN
NNM1706 COMMAND ACCEPTED, PURGE ID NUMBER IS 5
SHOW TIMER
NNM1721 ID BY INTERVAL -USERID-R LIM CNT K/P ENV P/M TID
NNM1722 5 EV 00:10:00 SYS1BMON 0 0 MON PRI YES SCAN
NNM1725 START LINKSCAN
NNM1723 NUMBER OF TIMER COMMANDS DISPLAYED WAS 1
#0005 START LINKSCAN
Checking the status of links
NNM1005 START LINKSCAN PROCESSING COMPLETE. NCLID 001085
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Refer to the NonStop NET/MASTER MS Operator’s Guide for more information on using
timer commands. The NonStop NET/MASTER MS Command Reference Manual
describes the complete syntax of the AT and EVERY commands.
Using Virtual Users to
Execute NCL
Procedures
A virtual user is a NonStop NET/MASTER MS user that does not have a terminal
associated with it. A virtual user acts the same way as a real user and has the same
attributes as a real user operating in OCS. There are five virtual users:
The Background Logger (BLOG)
The Background Monitor (BMON)
The Background System Process (BSYS)
The Event Management Service Process (EMSP)
The Activity Log Process (LOGP)
Virtual users can execute NCL procedures on your behalf. The NonStop
NET/MASTER MS SUBMIT command is the main command that sends a command to
a virtual user to execute on your behalf. You can also use the KEEP or ROUTE
operands of the AT and EVERY commands to send a timer command to execute under
the control of a virtual user. You can submit either commands or NCL procedures to a
virtual user.
The following example sends a command to the Background Monitor using the
SUBMIT command. This command tells the Background Monitor to execute the NCL
procedure CLOSTERM.
SUBMIT BMON START CLOSTERM