NET/MASTER Network Control Language (NCL) Programmer's Guide
Factors Affecting NCL Procedure Location
Executing NCL Procedures
106160 Tandem Computers Incorporated 8–13
Unloading
You can use the SYSPARMS UNLOAD command to unload an NCL procedure. If the
NCL process is being executed, a warning message is sent to the issuer of the
command. The NCL process continues to execute but can no longer be used by other
users. When it is no longer in use, it is deleted from memory.
The following example unloads three NCL procedures—MSGPROC1, MSGPROC2,
and MSGPROC3:
SYSPARMS UNLOAD=MSGPROC1
SYSPARMS UNLOAD=MSGPROC2
SYSPARMS UNLOAD=MSGPROC3
As soon as the SYSPARMS UNLOAD command is issued, a new copy of the same
NCL procedure can be preloaded (using the SYSPARMS PRELOAD command). New
users of the NCL procedure will execute the new copy, even if other users are still
using the old copy.
NCL procedures that replace NonStop NET/MASTER MS commands—specified
using the SYSPARMS CMDREPL command—are automatically preloaded and placed
in the active list. These NCL procedures are unloaded using the SYSPARMS
UNLOAD command. (NCL procedures that replace NonStop NET/MASTER MS
commands are displayed with a status of CMDREPL by the SHOW PRELOAD
command.)
The SYSPARMS UNLOAD command is also used to delete NCL procedures placed in
the retain list or ones in the active list that have not been explicitly preloaded using the
SYSPARMS PRELOAD command.
Sharing NCL Procedures An NCL procedure that is available for sharing can be executed by more than one user
at the same time. The SYSPARMS NCLPRSHR command tells NonStop
NET/MASTER MS what to do if it receives concurrent or consecutive requests to
execute the same NCL procedure. By default, the SYSPARMS NCLPRSHR command
affects all NCL procedures.
When Sharing Is Not Active
If you specify SYSPARMS NCLPRSHR=NO, then NCL procedures that are loaded for
execution, that is, not with the SYSPARMS PRELOAD or SYSPARMS CMDREPL
commands, cannot be shared. This means that, if you are executing an NCL
procedure, any other user that wants to execute the NCL procedure will use a separate
copy. The NCL procedure is not put in the active list or the retain list.
The following example prevents the sharing of NCL procedures that are loaded for
execution:
SYSPARMS NCLPRSHR=NO