NET/MASTER Management Services (MS) Operator's Guide

Executing NCL Procedures in the Background
Automating Operations Tasks With NCL Procedures
106379 Tandem Computers Incorporated 10–11
Using Timer
Commands to Execute
NCL Procedures
Your NonStop NET/MASTER MS system has two timer commands:
The AT command executes other NonStop NET/MASTER MS commands at a
certain time.
The EVERY command executes other NonStop NET/MASTER MS commands at a
certain interval.
You can use the AT and EVERY commands with the START and EXEC commands to
control the time and frequency at which NCL procedures are executed.
Issuing timer commands is discussed in detail in Section 3, “Issuing NonStop
NET/MASTER MS Commands.”
Executing NCL
Procedures in the
Background
Virtual users are processes that operate in the background and do not have terminals
associated with them. They provide a processing environment where NCL procedures
can be run and commands can be executed without having to interact with a terminal.
NonStop NET/MASTER MS creates five virtual users when it starts. These virtual
users process NonStop NET/MASTER MS commands on behalf of other users or NCL
processes, exist as long as NonStop NET/MASTER MS is running (unless explicitly
stopped), and have user IDs associated with them. They are:
BMON, the Background Monitor
BLOG, the Background Logger
BSYS, the Background System process
EMSP, which runs the EMSPROC procedure
LOGP, which runs the LOGPROC procedure
You can submit an NCL procedure for a virtual user to execute by using the NonStop
NET/MASTER MS SUBMIT command. The processing of the procedure is managed
entirely by the virtual user and is not affected if you then log off from NonStop
NET/MASTER MS. Background environments are therefore ideal for system-
monitoring functions such as executing a procedure that regularly checks the status of
network components.
What happens to the output depends on the virtual user processing the procedure.
For example, the results of procedures sent to BLOG are sent only to the activity log.
The results of procedures sent to BMON are sent to all monitor-class operator
terminals as well as to the activity log.
The following example tells the BMON to execute the NCL procedure MYPROC:
SUBMIT BMON START MYPROC
Virtual users and background processing of commands and procedures are described
in more detail in Section 3, “Issuing NonStop NET/MASTER MS Commands,” and in
the NonStop NET/MASTER NCL Programmer’s Guide.