NET/MASTER Management Services (MS) Command Reference Manual

CLEAR
NonStop NET/MASTER MS Commands
2–20 115412 Tandem Computers Incorporated
CLEAR The CLEAR command clears roll-delete messages in the current OCS window. This
command is synonymous with the K command. Entering the CLEAR command with
no operands clears all roll-delete messages currently displayed in the OCS window,
but does not affect messages queued for display at the window from which the
command is entered. In OCS, this command is assigned by default to the F8 function
key.
CLEAR [ ALL | RESP ]
ALL
clears all roll-delete messages currently displayed or queued for display at the
window from which the command is entered. Non-roll-delete messages are not
affected.
RESP
clears all roll-delete messages currently displayed and all messages that are
responses to an earlier command or commands entered from the window.
Non-roll-delete messages are not affected. Unsolicited messages are not affected.
Considerations
The default authority level of this command is 0.
You can enter this command from any NCL procedure, except the INIT NCL
procedure, by using the CMD core statement (but not the INTCMD verb). If you
want to perform a clear function from an NCL procedure, it is recommended that
you use the PAGE command, not the CLEAR command.
The operation of this command is similar to the operation of the PAGE command,
except that the clear function does not occur at the precise point at which it is
processed. The CLEAR command is an expedited command and is processed
ahead of other commands queued for output.
Note If you enter this command when messages are queued for display (when the MSG QUEUED or AUTO
HOLD caption is displayed on the screen), the next full screen of messages is displayed before this
command takes effect.
If you are using multiple windows, only the window from which you enter the
command is cleared. This applies when you have used the SPLIT function key
and have two windows present on your screen.
You can ensure that the full screen is available to display the results of a command
if you concatenate this command with another command.