NET/MASTER Network Control Language (NCL) Reference Manual
QEXIT
Verbs
3–162 106126 Tandem Computers Incorporated
QEXIT The QEXIT verb terminates the current NCL process and all higher-level NCL
processes. You can use this verb to release the current processing window from
within an NCL process.
The QEXIT verb is meaningful only when issued from an NCL process that is
associated with an OCS window.
The current and all higher levels of nested NCL processes are terminated without
further processing. The OCS window in which the NCL process was executing is
terminated. If the user has only one processing window, QEXIT terminates the
window and logs the user off.
NOMSG and PMENU are keywords and cannot be replaced by an expression.
QEXIT [ NOMSG ] [ PMENU ]
NOMSG
specifies that the session is to be terminated without issuing a termination
message. If the operand is not specified, the standard logoff message is issued.
PMENU
specifies that QEXIT is to terminate all processing in the current window but
releases the window back to the primary menu. If the operand is omitted, the
window environment is terminated completely.
Consideration
See also the EXIT core statement in Section 2, “Core Statements.” The EXIT core
statement simply terminates an NCL process, whereas the QEXIT verb terminates an
NCL process and a window.
Example
The following example terminates processing and the current window environment.
A standard logoff message is issued:
QEXIT