NET/MASTER Network Control Language (NCL) Reference Manual

INTCLEAR
Verbs
106126 Tandem Computers Incorporated 3–103
INTCLEAR The INTCLEAR verb discards outstanding messages queued to a dependent
processing environment. The messages may have been queued by a previous WRITE
or INTCMD verb, or by INTQ commands issued from OCS, by other NCL processes
directing messages to this process, or by a command executing in a dependent region.
The INTCLEAR verb eliminates the need to process all of the results from a command
or NCL procedure queued to the dependent request or response queue.
You can use the INTCLEAR verb in an NCL process to clear messages in the
dependent request and response queues. You can specify the type of queue from
which the INTCLEAR verb clears messages by using the TYPE operand.
A command started by INTCMD is executed in the dependent processing
environment of the NCL process that executes the INTCMD verb. The results of the
command are queued, line by line, to the dependent response queue. During analysis
of the results of the command, the flow of control in the procedure may determine that
you should use another INTCMD verb. Remaining results, held from the previous
INTCMD verb, can be kept or discarded. The INTCLEAR verb is used to discard these
outstanding results.
INTCLEAR [ TYPE={ ALL | ANY | REQ | RESP } ]
TYPE
specifies the INTCLEAR method to be used. The possible operands are discussed
next.
ALL
clears all messages on the request and response queues. In addition the
dependent environment is dismantled. This terminates all commands and
NCL processes running in the environment.
ANY
clears all messages on the dependent response and dependent request queues.
The dependent processing environment is left intact; that is, NCL processes
and commands running in the dependent environment are not terminated.
REQ
clears all messages on the dependent request queue. The dependent
processing environment is left intact; that is, NCL processes and commands
running in the dependent environment are not terminated.
RESP
clears all messages on the dependent response queue. The dependent
processing environment is left intact; that is, NCL processes and commands
running in the dependent environment are not terminated.