NET/MASTER Network Control Language (NCL) Programmer's Guide
Execution Techniques
Executing NCL Procedures
8–2 106160 Tandem Computers Incorporated
You can enter the START command from any command input line including the OCS
command input line and the Log Browse command input line. From the OCS
command input line, the general form of the START command is:
START
ncl-procedure-name
From the Log Browse command input line, the general form of the START command
is:
/START
ncl-procedure-name
Any NCL procedure can execute the START command using the CMD core statement
or the INTCMD verb. From an NCL procedure, the general form of the command is
one of the following:
CMD START
ncl-procedure-name
INTCMD START
ncl-procedure-name
Note You can omit the START command, entering only the name of an NCL procedure, if the value of the
SYSPARMS AUTOEXEC command is YES. NonStop NET/MASTER MS then issues an implicit START
command.
Using the CMD core statement and the INTCMD verb with the START command is
discussed in more detail in Section 16, “Environments and Command Processing.”
For more information on the START command, refer to the NonStop NET/MASTER MS
Command Reference Manual.
Execution Using the EXEC Command
The EXEC command is used to invoke an NCL procedure for serial execution in
relation to other NCL processes.
An NCL procedure invoked using the EXEC command is not executed immediately; it
is scheduled for execution. If another NCL process, executed using the EXEC
command, is executing in the same NCL processing environment, the new NCL
procedure is queued. The new NCL procedure begins execution when all other NCL
procedures ahead of it in the queue finish execution.
Whether NCL procedures are queued depends on the setting of the SYSPARMS
NCLPEND system parameter. If the setting of this system parameter is YES (the
default), there is no limit to the number of NCL procedures that can be queued for
serial execution. If the setting is NO, the size of the queue is zero: only one NCL
procedure executed by using the EXEC command can execute in an NCL processing
environment.
An NCL procedure invoked using the EXEC command is allocated an NCL ID when it
begins execution, not when it is placed in the queue.