NET/MASTER Management Services (MS) Command Reference Manual
LBANNER
SYSPARMS NCLGBTRC
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–497
NCLGBTRC
NCLGBTRC=[
global-variable-name
]
specifies a single global variable name or a generic global variable prefix that is
traced as changes occur to the variable(s), or specifies that there is no global
variable tracing. You must specify the name of the global variable without the
leading &GLBL prefix.
global-variable-name
specifies the name of global variable to trace without the leading &GLBL
prefix.
Considerations
A global variable is an NCL variable, visible to all NCL processes, that begins with
the prefix &GLBL. All NCL processes can read the value of all global variables
and all NCL processes can update all global variables.
If you have many NCL processes that access a certain global variable, it may be
difficult to determine the order in which each NCL process changes its value and
the changes made by each NCL process. You can use the SYSPARMS NCLGBTRC
command to trace access to the global variable across all NCL processes.
Each time a value is assigned to the traced global variable, NonStop
NET/MASTER MS writes a record to the activity log identifying the NCL process
assigning the value, the user ID of the owner of the NCL process, and the current
value of the global variable. Changes are not displayed on an OCS window. You
can browse through the activity log using Log Browse to examine the changes to
the global variable.
Examples
1. The following example specifies a global variable called &GLBLABC:
SYSPARMS NCLGBTRC=ABC
2. The following example specifies all global variables that begin with &GLBLABC:
SYSPARMS NCLGBTRC=ABC*
3. The following example specifies all global variables:
SYSPARMS NCLGBTRC=*
4. The following example stops global tracing of the current global variable(s) by
specifying a null value after the equal sign (=):
SYSPARMS NCLGBTRC=