NET/MASTER Network Control Language (NCL) Programmer's Guide
Factors Affecting NCL Procedure Location
Executing NCL Procedures
106160 Tandem Computers Incorporated 8–15
If test mode is off, the NCL process that executes may not be the most recent version.
The following command sets test mode off:
PROFILE NCLTEST=NO
Hint To improve the performance of an NCL process, set test mode on only when developing and testing NCL
procedures.
(NCL procedures that are in memory because SYSPARMS NCLPRSHR is either YES or
a number and PROFILE NCLTEST is NO are displayed with a status of AUTOSHR by
the SHOW PRELOAD command.)
How NCL Procedure
Location Factors Interact
This subsection summarizes how the use of the default search path, preloading,
unloading, NCL procedure sharing, and the test mode setting affect each other when
an NCL procedure is executed.
The setting of test mode is the first factor that your NonStop NET/MASTER MS
system uses when it searches for an NCL procedure. The summary that follows,
therefore, describes what happens when test mode is on and off.
Interaction When Test Mode Is On
If test mode is on when NonStop NET/MASTER MS tries to execute an NCL
procedure, NonStop NET/MASTER MS tries to load the NCL procedure from disk.
NonStop NET/MASTER MS uses the default or customized search path to search for
it, beginning with the user procedure library.
If NonStop NET/MASTER MS finds a match, it automatically compiles and executes
the NCL procedure. After execution, NonStop NET/MASTER MS does not put the
NCL procedure in either the active list or the retain list—it ignores the setting of the
SYSPARMS NCLPRSHR command.
If NonStop NET/MASTER MS cannot find the NCL procedure using the default or
customized search path, it reports that the NCL procedure cannot be found.
Interaction When Test Mode Is Off
If test mode is off when NonStop NET/MASTER MS tries to execute an NCL
procedure, NonStop NET/MASTER MS tries to find it in memory.
It looks first at the active list to find an NCL procedure that was loaded from a
procedure library using the SYSPARMS PRELOAD command. If NonStop
NET/MASTER MS cannot find a match, it attempts to find an NCL procedure in the
active list, and then, if necessary, the retain list, that resulted from a previous load by a
user. (A previous load will have used a search path beginning with the user
procedure library.)
If NonStop NET/MASTER MS finds a match, it executes the NCL procedure. (The
NCL procedure does not require compilation. It has already been compiled.)