NET/MASTER Network Control Language (NCL) Programmer's Guide
Operations Available Through NCL
Introduction to NCL
106160 Tandem Computers Incorporated 1–5
Creating Customized
NonStop NET/MASTER MS
Commands
You execute NonStop NET/MASTER MS commands by typing them at the OCS
command input line. After writing an NCL procedure, you can usually execute it by
simply typing its name at the OCS command input line—effectively creating a
customized command.
Displaying Panels A panel is a formatted screen display that overlays an entire screen window. NCL
processes display panels by using panel description files. A panel description file is an
edit file used by an NCL process to display a panel. It contains the text to display on a
screen and the panel control statements that determine how to display the text.
Panels present information to users and can accept input from users. Input can be
passed back to an NCL process for analysis and further processing.
Examples of panel description files distributed with NonStop NET/MASTER MS are
the NonStop NET/MASTER MS primary menu, User ID Management Services menus,
Edit Services screens, and all help displays.
Executing NonStop
NET/MASTER MS
Commands
You can execute most NonStop NET/MASTER MS commands from an NCL process.
This includes timer commands, informational commands, commands used with
remote systems, and commands used with function keys and terminals.
An NCL process can execute a NonStop NET/MASTER MS command in two ways.
The NCL process can execute the command so that it does not receive the results of the
command. In this case, the results are passed to the owner of the NCL process. Or,
the NCL process can execute the command so that it does receive the results of the
command. In this case, it can read and analyze the results and take further action
based on the results.
Commands, operands, and users have an authority level. For security, if you want to
enter a command or operand from an NCL process that you execute, you must have
an authority level that is equal to or greater than the authority level of the command or
operand.
Executing Distributed
Systems Network
Management (DSNM)
Commands
You can execute DSNM commands from an NCL process. This includes the standard
set of DSNM commands in addition to others supported only by NonStop
NET/MASTER MS. This allows you to start and stop objects from an NCL process.
You can write an NCL procedure to automatically monitor objects.
For more information on DSNM commands, refer to the User’s Guide to DSNM
Commands.
Intercepting and
Processing Event
Messages
You can write NCL procedures to intercept and process the many event messages that
report system and network management information. NonStop NET/MASTER MS is
supplied with examples of the following three system-level NCL procedures that deal
with event messages:
EMSPROC, which is an NCL procedure that intercepts and processes Event
Management Service (EMS) messages.
LOGPROC, which is an NCL procedure that intercepts and processes messages
destined for the NonStop NET/MASTER MS activity log.