NET/MASTER Network Control Language (NCL) Reference Manual

CALL
Core Statements
106126 Tandem Computers Incorporated 2–5
expr
specifies an expression that equates at run time to the name of an NCL
procedure.
expr
must represent a valid NCL procedure name. The search
sequence followed is:
1. Internal procedure label
2. External procedure name
Note If the label or procedure is not found, NCL generates a run-time error. However, if the FINDRC operand
of the CONTROL verb is specified in the calling procedure, NCL sets the &SYS.RETCODE system
variable to 100. See the first item in “Considerations,” later in this description.
args
specifies a list of arguments that can be passed to the called procedure. You can
pass up to 32000 arguments. If you do not provide a list, no arguments are passed.
When calling an NCL procedure, the variables &1, &2, and so on, to the number
required, contain the arguments provided to the target procedure.
SHARE
specifies whether the current variable-sharing status is to be overridden for this
function call and whether variable sharing is to be enabled. If this operand is not
specified, NCL uses the setting of the [NO]SHRVARS operand of the CONTROL
verb.
share-list
specifies one or more variables that are to be shared, or not shared, with the
function. The CALLER keyword can be part of the list. The terms must be
separated by commas.
element
specifies a variable type or the CALLER keyword.
&*
specifies any variable type that can be shared, in which the asterisk (*)
can be any combination of characters that can legitimately form a
variable name.
&
simple-variable
[*]
specifies a simple variable, in which * can be any combination of
characters that can legitimately form a variable name.