NET/MASTER Management Services (MS) Operator's Guide
Executing NCL Procedures
Automating Operations Tasks With NCL Procedures
106379 Tandem Computers Incorporated 10–7
Compiling an NCL
Procedure
When you execute an NCL procedure, NCL automatically compiles it if it has not been
previously compiled. The compilation process creates object code from the source file.
NCL stores the object code of every compiled source file belonging to you in the one
object file. The object file for your object code is defined in the NCL Object File Name
field in your user ID definition record (see Section 2, “User ID Management Services
(UMS),” for more information).
Executing NCL
Procedures
An NCL procedure that is executing is called an NCL process. You can invoke an
NCL procedure for:
Asynchronous execution by using the NonStop NET/MASTER MS START
command. The NCL procedure is executed immediately, independently of, and
concurrently with, any other NCL procedure(s) executing within the same
environment.
When an NCL procedure is invoked by using the START command or the START
verb (from an NCL process), it is immediately allocated a unique identifier. This is
called an NCL process identifier (NCL ID).
Serial execution by using the NonStop NET/MASTER MS EXEC command. The
NCL procedure is scheduled for execution pending completion of any queued,
serially invoked NCL procedures.
When an NCL procedure is invoked by using the EXEC command, it is allocated
an NCL ID when it begins execution, not when it is placed on the queue.
You can issue a START or EXEC command from any command input line, including
the OCS, the Command Entry facility, and the Activity Log Browse facility command
input lines.
Note You cannot execute an NCL procedure from a TACL prompt. NCL procedures must be executed from
within NonStop NET/MASTER MS.
If your system parameter SYSPARMS AUTOEXEC is set to YES or START, you can
also execute an NCL procedure by simply entering the name of the NCL procedure
(without the START or EXEC command) on a command input line and pressing the
ENTER key. NonStop NET/MASTER MS issues an implicit START command, and
the NCL procedure is executed asynchronously.
Note If you receive the following message when you try to execute an NCL procedure without using the START
or EXEC command, it means that the SYSPARMS AUTOEXEC setting is NO or OPSYS:
NNM0201 INVALID COMMAND "procedure"