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

Factors Affecting NCL Procedure Location
Executing NCL Procedures
106160 Tandem Computers Incorporated 8–11
if still unsuccessful, NonStop NET/MASTER MS searches the distributed NCL object
file.
Your NonStop NET/MASTER MS system assumes that the first match it finds in the
search path is the NCL procedure to execute. This means if you create an NCL
procedure in the customized procedure library with the same name as an NCL
procedure in the distribution procedure library and you do not specify the name of a
procedure library, NonStop NET/MASTER MS always executes the NCL procedure in
the customized procedure library.
If your NonStop NET/MASTER MS system cannot find a matching name, it reports
that the NCL procedure cannot be found.
See Section 4, “Initial NCL Procedure Development,” for more information about user
procedure libraries, the customized procedure library, and the distribution procedure
library.
How to Customize the NCL
Procedure Search Path
The NCLCOMP command allows you to individually compile NCL procedures and
place them in an object file of your choice. The file must have the same subvolume as
the distributed NCL object file; this file can then be included in a customized NCL
procedure search path.
Using the NCLCOMP command, you can:
Create a new NCL object file
Add a new NCL procedure object to the file
Overwrite an existing NCL procedure object in the file by an updated object
Delete an existing NCL procedure object from the file
Refer to the NonStop NET/MASTER MS Command Reference Manual for further
information about using the NCLCOMP command.
Having created a new NCL object file, the SYSPARMS NCLOBJPATH command
allows you to specify the file in a list that augments the NCL procedure search path.
The NCL object files are searched in the order specified.
For example, to specify two NCL object files in addition to the distributed panel object
file, use the following command:
SYSPARMS NCLOBJPATH=($DATA.ZNNMNDO.NCODE,
$DATA.ZNNMNDO.NCLOBJ1,
$DATA.ZNNMNDO.NCLOBJ2)
Using this example, the customized NCL procedure search path is:
1. User procedure library
2. System procedure library, which includes the following:
a. Customized procedure library
b. Distribution procedure library
3. NCL object file, $DATA.ZNNMNDO.NCODE