NET/MASTER Network Control Language (NCL) Reference Manual

PAUSE
Verbs
3–148 106126 Tandem Computers Incorporated
PAUSE The PAUSE verb suspends processing of an NCL process until the operator requests
that processing be continued or be terminated. Any commands may be entered from
the terminal while an NCL process is in a paused state.
When you use this verb, NCL alerts the operator by issuing an OCS message that an
NCL process has been suspended. You can use the PAUSE verb to elicit information
from an OCS operator or ask the operator to perform some manual duties. Once the
requested action has been taken, the operator can enter the GO command at the OCS
command input line to resume the NCL process, or the operator can enter the FLUSH
command to terminate it and all dependent NCL processes.
You can execute multiple NCL processes in the same NCL processing environment,
and they can all issue PAUSE verbs to await operator input. The ID operand of the
GO command is used to identify the NCL process being referred to.
If an OCS operator exits while an NCL process is in a paused state, the NCL process is
terminated and no further processing is performed.
Note If you use the PAUSE verb in a system-level or a top-level NCL procedure such as the primary menu, the
INIT procedure, or the READY procedure, the system is paused indefinitely. Only a GO or FLUSH
NonStop NET/MASTER MS command can effectively terminate the PAUSE.
PAUSE { [ ARGS [ RANGE=(
start
,
end
) ] [ SEGMENT=
n
] ] |
[ VARS={
input-vars-list
|
variable*
}
[ RANGE=(
start
,
end
) ] [ SEGMENT=
n
] ] }
[ PARSE={ NO | YES } ]
[ DATA=
rest-of-statement
]
ARGS
specifies a range of generated variables for receiving the operator input. See
“Frequently Occurring Operands,” at the beginning of this section, for more
information. If too few variables are specified, data is missing. Excess variables
are given no value—they are set to the null string.
RANGE=(
start
,
end
)
determines the range of variables specified by the ARGS operand. See
“Frequently Occurring Operands,” at the beginning of this section, for more
information.
SEGMENT=
n
specifies the amount of data (in bytes) to be put into the variables specified.
See “Frequently Occurring Operands,” at the beginning of this section, for
more information.