NET/MASTER Management Services (MS) Command Reference Manual
EXEC
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–93
EXEC The EXEC command invokes and schedules an NCL procedure for serial execution.
When an NCL procedure is scheduled for execution, it executes serially with respect to
any other NCL procedures invoked by the EXEC command in the same environment.
If another serial NCL process is already running, the newly scheduled NCL process is
queued. Contrast this command with the START command, which invokes an NCL
procedure for immediate, asynchronous execution.
EXEC
ncl-procedure
[
parameter
]
ncl-procedure
specifies the name of an NCL procedure.
parameter
specifies a parameter to pass to the NCL procedure.
You must pass the parameters in the order the NCL process expects to receive
them. Parameters are assigned, in order, to the parameter variables &1 through
&n.
Considerations
The default authority level of this command is 0.
You can enter this command from any NCL procedure, including the INIT NCL
procedure, by using either the CMD core statement or the INTCMD verb.
If an NCL procedure executed using the EXEC command is invoked using the
CMD EXEC statement in an NCL procedure, it is scheduled for serial execution in
the current execution environment. This means that it does not execute until at
least the issuing NCL process has terminated.
If an NCL procedure executed using the EXEC command is invoked using the
INTCMD EXEC statement in an NCL procedure, it is scheduled for serial
execution in the dependent processing environment of the originating NCL
process. The NCL procedure is scheduled for execution with respect to any other
NCL procedures invoked by the EXEC command in the dependent processing
environment.
A single NonStop NET/MASTER MS user is limited by default to 128 NCL
procedures executing concurrently, regardless of whether they are initiated by the
START or EXEC command. You can change this default using the SYSPARMS
NCLUMAX command.
An NCL process invoked by the EXEC command is allocated an NCL process
identifier when it begins executing, not while it is waiting for execution on a
queue.