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

Development Considerations for System-Level NCL Procedures
Developing System-Level NCL Procedures
106160 Tandem Computers Incorporated 17–17
Unloading LOGPROC From the Retain List. LOGPROC executes under the control of the
virtual user LOGP. Loading LOGPROC using the SYSPARMS LOGPROC command
loads it and places it on a list called the active list.
If the value of the SYSPARMS NCLPRSHR system parameter is a number, then your
NonStop NET/MASTER MS system also maintains a list called the retain list. This list
keeps in memory NCL procedures that have been previously executed but are
currently not being executed.
If the value of the SYSPARMS NCLPRSHR system parameter is a number, then
flushing LOGPROC places it on the retain list in the region owned by LOGP. You can
determine whether LOGPROC is on this retain list using the following command
(assuming PROFILE MONMSG=YES):
SUBMIT LOGP SHOW PRELOAD
If LOGPROC is on the retain list (after modifying LOGPROC and before loading a new
version of LOGPROC), you should execute the following command to remove it from
the list to ensure that you load the latest version:
SUBMIT LOGP SYSPARMS UNLOAD=
logproc
,
ncl-library
The following screen shows the steps you should use:
(14:05) --------------------- OPERATOR CONTROL SERVICES ---------------------
SYSPARMS LOGPROC=LPROC2 <-- Loads LOGPROC
NNM0604 SYSPARMS LOGPROC=LPROC2 OPERAND ACCEPTED.
14:02:57 L LOGPROC starting
SYSPARMS LOGPROC=FLUSH <-- Flushes LOGPROC
NNM0604 SYSPARMS LOGPROC=FLUSH OPERAND ACCEPTED.
SUBMIT LOGP SHOW PRELOAD=LPROC2 <-- On retain list?
NNM1302 COMMAND SUBMITTED TO LOGP REGION
14:03:39 L SHOW PRELOAD=LPROC2
14:03:39 L NNM1050 NAME STATUS USERS REFCNT STMTS NCLBUF LIBRARY
AGEUSE
14:03:39 L NNM1051 LPROC2 RETAINED 0 1 16 2 ZNNMNCS
1
14:03:39 L NNM0999 *END*
SUBMIT LOGP SYSPARMS UNLOAD=LPROC2 <-- Yes, so unload
NNM1302 COMMAND SUBMITTED TO LOGP REGION
14:04:03 L SYSPARMS UNLOAD=LPROC2
14:04:04 L NNM1057 UNLOAD OF LPROC2 ACCEPTED
SUBMIT LOGP SHOW PRELOAD=LPROC2 <-- Confirmation
NNM1302 COMMAND SUBMITTED TO LOGP REGION
14:05:36 L SHOW PRELOAD=LPROC2
14:05:36 L NNM1052 NO NCL PROCEDURES PRELOADED OR AUTO-SHARED
AUTO HOLD ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Note While you are testing new versions of LOGPROC, you can ensure that you always use the latest version
by changing the profile of LOGP so that test mode is on. The following command ensures that you
always use the latest version of LOGPROC during testing:
SUBMIT LOGP PROFILE NCLTEST=YES