NET/MASTER Network Control Language (NCL) Reference Manual

START
Verbs
106126 Tandem Computers Incorporated 3–177
START The START verb invokes an NCL procedure for asynchronous execution in the
specified environment using the specified variables. The invoking NCL process can
execute the started NCL procedure in the current processing environment, a
dependent processing environment, or a background processing environment. The
invoking NCL process can synchronize execution with the started NCL process.
Finally, the invoking NCL process can send one or more variables, including an MDO
variable, to the started NCL process. The START verb is particularly well suited for
use in NCL processes that control the automation of operations tasks.
Contrast the START verb with the START command, which also invokes an NCL
procedure for asynchronous execution. The START command does not allow you to
specify an execution environment, allow synchronization, or allow an MDO variable
to be sent. In addition, the START command does not allow you to specify an NCL
procedure as restartable. Refer to the NonStop NET/MASTER MS Command Reference
Manual for more information on the START command.
START PROC=
ncl-procedure
[ { ARGS [ RANGE=(
start
,
end
) ] [ SEGMENT=
n
] |
VARS={
output-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) ] [ SEGMENT=
n
] } |
MDO=
mdo-name
]
[ ENV={ CURRENT | DEPENDENT | BLOG |
BMON | BSYS | EMSP | LOGP } ]
[ NOTIFY={ NO | YES } ]
[ RESTART={ NO | YES | CONDITIONAL } ]
PROC
specifies the name of an NCL procedure. The default search path is used to locate
the NCL procedure in the procedure library for the real or virtual user.
ARGS
specifies a range of generated variables that are passed to the started NCL process.
See “Frequently Occurring Operands,” at the beginning of this section, for more
information.
In the started NCL process, the variables &1 through &
n
, where
n
represents the
number of variables generated, contain the corresponding values of the variables
passed. The &SYS.PARMCNT system variable in the started NCL process
contains the number of variables generated. The &SYS.ALLPARMS system
variable in the started NCL process contains the values of the variables, separated
by spaces.