Technical data

Using OpenVMS System Management Utilities and Tools
2.4 Using OPCOM to Communicate with System Users
Examples
The REPLY command in the following example sends a message to all users
logged in to node WLDWND. When the message is displayed, a bell rings at the
terminal.
$ REPLY/ALL/BELL/NODE=WLDWND "Please log off"
The REPLY command in the following example sends a message to the user
logged in at terminal TTC1. When the message is displayed, a bell rings at that
terminal.
$ REPLY/BELL/TERMINAL=TTC1: "Your file has completed printing"
2.4.4 Controlling the Use of OPA0: as an Operator Terminal
You can control the use of OPA0: as an operator terminal, whether or not the
node is part of an OpenVMS Cluster system, by defining the following logicals in
SYS$MANAGER:SYLOGICALS.COM:
Logical Name Function
OPC$OPA0_ENABLE Defined as True or False; if True, specifies that OPA0: is to be
enabled as an operator terminal.
OPC$OPA0_CLASSES Specifies the operator classes that are enabled for OPA0. The
logical name can be a search list of the allowed classes, a
comma-separated list, or a combination of the two.
The logicals take effect the next time you boot the system.
2.4.5 Designating Operator Terminals
Normally, the console terminal (with the device name OPA0:) is automatically an
operator terminal except for workstations in an OpenVMS Cluster environment.
However, you can designate any terminal as an operator terminal. You can also
disable a previously designated operator terminal.
Enabling Operator Terminals
To designate a terminal as an operator terminal, enter the REPLY/ENABLE
command at the terminal. For example:
$ REPLY/ENABLE
$
%%%%%%%%%%% OPCOM 13-JUL-2000 11:30:30.56 %%%%%%%%%%%
Operator _BHAK$FTA20: has been enabled, username SYSTEM
To designate an operators terminal in batch or in startup command procedures,
SYS$COMMAND must be assigned to a valid terminal device.
If your facility is large, there may be several operators, each of whom is assigned
to specific tasks. If this is the case, you can specify the classes of messages
the operator terminal receives and responds to when you enable the operator
terminal, as follows:
REPLY/ENABLE=(keyword[,...])
2–24 Using OpenVMS System Management Utilities and Tools