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

Language Elements
NCL Summary
2–18 106160 Tandem Computers Incorporated
SECCALL Verbs
NCL processes can access the User ID Management Services (UMS) database using the
SECCALL verbs. There are many SECCALL verbs (SECCALL ADD, SECCALL
CHECK, and so on.)
These verbs allow you to add a new user to the UMS database, change, check, retrieve,
and delete user ID records in the database, and to communicate with your own
security exit if your installation is using one.
LOCK Verb
Cooperating NCL processes can lock resources using advisory locks. An advisory
lock does not physically prevent access to a resource, but advises enquiring NCL
processes that a resource is being used. LOCK is used to place an advisory lock on a
resource and to remove the lock when the resource is no longer required.
CONTROL Verb
The CONTROL verb configures some aspects of the internal working environment of
an NCL process. It determines how certain statements are processed.
For example, the [NO]SHRVARS keyword controls how variables are shared by
default between procedures and functions. Keywords that begin with [NO]PFK are
usually used with panels and affect how an NCL process interprets function keys that
are pressed by a user who is entering data into the input field of a panel.
VARTABLE Verbs
Vartables are memory-resident tables of variable information. The data contained in
vartables are controlled by the VARTABLE verbs. There are many VARTABLE verbs
(VARTABLE UPDATE, VARTABLE GET, and so on.) They are used to define
vartables and to remove vartable definitions. They are used to manipulate entries in
vartables.
SWGUID Verb
All NonStop NET/MASTER MS users have one or more Guardian user IDs (GUIDs)
defined in their user ID definition records: for example, 100,21 and 255,255 may be the
GUIDs for one user. A user can use the PROFILE GUID command to switch from one
GUID to another in OCS.
When an NCL procedure is executed by a user, the NCL process executes under the
current GUID of the user. The SWGUID verb switches from the current GUID to a
new GUID. The new GUID must be one of those allowed for the user at the time the
new process is started: that is, the new GUID must be one of those defined in the user
ID definition record for the user. If the NCL process uses SWGUID to switch to a new
GUID and then executes a new process, the new NCL process executes under the new
GUID. If SWGUID is used with no operands, the default Guardian user ID of the
current user is installed.