NET/MASTER Management Services (MS) System Management Guide

Preloading NCL Procedures
Customizing the Operations Environment
5–16 115414 NonStop NET/MASTER MS System Management Guide
Preloading NCL
Procedures
Preloading an NCL procedure enables users to avoid the performance cost associated
with disk I/O when an NCL procedure is executed for the first time. Although NCL is
an interpreted language, the NCL component “compiles” NCL procedures to an
intermediate object code form during the initial execution of the given procedure. An
NCL procedure is said to be preloaded when it is compiled before a user attempts to
run the procedure. The practice of preloading insulates users from the performance
costs exacted by the “compilation” and provides the fastest possible response times for
the preloaded procedure.
To preload an NCL procedure, issue the SYSPARMS PRELOAD command, followed
by the procedure name. For example, to preload an NCL procedure named
TESTPROC, issue the following command:
SYSPARMS PRELOAD=TESTPROC
Preloading During the
NonStop NET/MASTER MS
Startup Phase
NCL procedures can be preloaded during the NonStop NET/MASTER MS startup
phase by including the SYSPARMS PRELOAD command in the INIT or READY NCL
procedure. However, preloading NCL procedures during NonStop NET/MASTER
MS startup increases startup time.
Preloading Commonly Used Distributed NCL Procedures During the INIT NCL Procedure Startup
Phase
The distributed INIT NCL procedure has a series of SYSPARMS PRELOAD
commands to preload commonly used distributed NCL procedures; however, by
default, these NCL procedures are not preloaded. To explicitly specify whether to
preload these NCL procedures, create a customized INIT NCL procedure using
Method 1, described in Section 3, “Configuring NonStop NET/MASTER MS,” and use
a CALL core statement from the customized INIT NCL procedure that calls and passes
an initialization option to the distributed INIT NCL procedure. The following syntax
is used:
CALL INIT( [ PRELOAD | NOPRELOAD ], [ RMSBASE | NORMSBASE ] )
PRELOAD
specifies that NCL procedures are to be preloaded during NonStop
NET/MASTER MS startup.
NOPRELOAD
specifies that NCL procedures are not to be preloaded during NonStop
NET/MASTER MS startup.
RMSBASE
Refer to the NonStop NET/MASTER RMS Management and Operations Guide for
more information.