NET/MASTER Network Control Language (NCL) Programmer's Guide
Factors Affecting NCL Procedure Location
Executing NCL Procedures
8–14 106160 Tandem Computers Incorporated
When Sharing Is Active
If you specify SYSPARMS NCLPRSHR=YES, then NCL procedures that are loaded for
execution can be shared. This means that, if you are executing an NCL procedure, any
other user that wants to execute it will use the same copy.
The shared NCL procedure is kept in the active list while it is being executed. While it
is in the active list, any other user can execute it. When the number of users executing
it drops to zero, it is deleted from the active list. It is not put in the retain list. (If the
value of NCLPRSHR is YES, NCL procedures are not retained.)
The following example enables the sharing of NCL procedures that are loaded when
required:
SYSPARMS NCLPRSHR=YES
Limiting the Size of the Retain List
A number associated with NCLPRSHR assumes that the value of NCLPRSHR is YES,
ensures that the specified number of NCL procedures are kept in the retain list, and
sets the size of the retain list. You can specify a number from 1 through 32767. For
example, the following command sets the size of the retain list so that it can hold a
maximum of 15 NCL procedures:
SYSPARMS NCLPRSHR=15
Hint To improve the performance of NCL processes that are not explicitly preloaded, specify an appropriate
number with SYSPARMS NCLPRSHR. This ensures that frequently executed NCL procedures are kept
in the retain list.
Test Mode Test mode is the name given to a setting that you control while you are writing and
testing NCL procedures. The setting of test mode affects how NonStop
NET/MASTER MS locates an NCL procedure and what NonStop NET/MASTER MS
does when it is located.
Test mode is controlled from OCS. The setting of test mode is part of your OCS
profile. The NonStop NET/MASTER MS command that controls test mode is the
PROFILE NCLTEST command.
You can set test mode on using the PROFILE NCLTEST=YES command. Setting test
mode on forces NonStop NET/MASTER MS to load an NCL procedure from disk. If
test mode is on, and you execute an NCL procedure, NonStop NET/MASTER MS
does not attempt to search for it in either the active list or the retain list. Setting test
mode on overrides the settings of the SYSPARMS PRELOAD and SYSPARMS
NCLPRSHR commands.
It is recommended that you set test mode on while you are writing and testing NCL
procedures. This ensures that the NCL procedure being executed is always the most
recent version. The following command sets test mode on:
PROFILE NCLTEST=YES