NET/MASTER Network Control Language (NCL) Programmer's Guide
Factors Affecting NCL Procedure Location
Executing NCL Procedures
8–12 106160 Tandem Computers Incorporated
4. NCL object file, $DATA.ZNNMNDO.NCLOBJ1
5. NCL object file, $DATA.ZNNMNDO.NCLOBJ2
By specifying the files in a different order, you can change the order of searching files
for NCL procedures. The additional files are searched in the order specified following
the search of the distribution procedure library.
Refer to the NonStop NET/MASTER MS System Management Guide for more information
on customizing the NCL procedure search path.
Preloading and Unloading A preloaded NCL procedure is an NCL procedure that has been loaded into memory
by using the SYSPARMS PRELOAD command. The purpose of explicitly preloading
an NCL procedure is to avoid the time and resources associated with searching for it
and compiling it at execution time.
Preloading
You use the SYSPARMS PRELOAD command to explicitly preload a particular NCL
procedure. MSGPROC NCL procedures that are used by many OCS operators and
NCL procedures that are used frequently by timer commands are examples of NCL
procedures that could be preloaded to advantage.
Preloaded NCL procedures are placed in the active list. They are never placed in the
retain list. Preloaded NCL procedures are shared even if the value of the SYSPARMS
NCLPRSHR command is NO.
The following example preloads three NCL procedures—MSGPROC1, MSGPROC2,
and MSGPROC3:
SYSPARMS PRELOAD=MSGPROC1
SYSPARMS PRELOAD=MSGPROC2
SYSPARMS PRELOAD=MSGPROC3
You would normally preload NCL procedures from either the customized procedure
library or the distribution procedure library. In this case, you do not have to specify
the name of the library. However, if you preload an NCL procedure from a user
procedure library, you must specify the name of the library.
Note NCL procedures that are preloaded from a user procedure library are accessible from the active list only
to users who have access to the user procedure library on disk.
You can use the SHOW PRELOAD and the SHOW NCLSTAT commands to display
information about preloaded NCL procedures. These commands are discussed later in
this section.
Hint To improve the performance of selected NCL processes, preload them. This ensures that frequently
executed NCL procedures are kept in the active list.