VMS Help  —  REPLY  Examples
    1.$ REPLY/ALL/BELL "SYSTEM GOING DOWN FOR BACK-UP. PLEASE LOG OFF."

      The REPLY command in this example broadcasts a message to all
      terminals on the system. When the message appears at the user's
      terminal, it is prefixed with the terminal name, the user name
      of the sender, and (when DECnet-Plus or DECnet for OpenVMS is
      installed) the node name. The bell sounds at the terminal as
      the message is displayed.

    2.$ REPLY/ENABLE=DISKS
      %OPCOM, 24-DEC-2001, 10:17:09.02, operator enabled, operator OPA0
      $
      %OPCOM, 24-DEC-2001 10:17:10.30, operator status for operator OPA0
      DISKS

      The REPLY/ENABLE command in this example designates the
      terminal OPA0 as an operator terminal that can receive messages
      pertaining to mounting and dismounting disks. The OPCOM message
      confirms that terminal OPA0 is established as an operator's
      terminal.

    3.%OPCOM, 24-DEC-2001 10:19:33.21, request 5, from user SYSTEM
      OPA0, Please mount OPGUIDE on DKA3:
      $ REPLY/PENDING=5 "YOU'LL HAVE TO WAIT... -
      _$ THERE ARE SEVERAL REQUESTS BEFORE YOURS"
         .
         .
         .
      $ REPLY/TO=5
      24-DEC-2001 10:20:25.50, request 5 completed by operator OPA0

      In this example the OPCOM message indicates that a user wants
      the operator to place the disk volume labeled OPGUIDE on the
      disk drive DKA3 and prepare the device for connection. The
      REPLY/PENDING command indicates that the operator can perform
      the task but not immediately; the /PENDING qualifier prevents
      the user from entering other commands until the operator
      fulfills or aborts the request. After mounting the disk on the
      drive the operator sends a message indicating that the request
      has been fulfilled. When no message is specified, OPCOM sends a
      standard message indicating that the task has been performed.

    4.%%%%%%%%%%  OPCOM, 24-DEC-2001 10:20:50.39  %%%%%%%%%%%
      request 5 from user ROBINSON
      Please mount volume GRAPHIC_FILES in device _DUA11:
      Shelf 4 - slot B
      $ REPLY/TO=5 "SUBSTITUTE  DUA4"

      The REPLY/TO command with the SUBSTITUTE syntax in this example
      is used in response to a MOUNT/ASSIST command entered by user
      ROBINSON. The MOUNT device is switched to DUA4, and the logical
      name specified by the user in the MOUNT command is defined with
      an equivalence name of DUA4 rather than the drive originally
      specified.

    5.$ REPLY/STATUS
      %OPCOM, 24-DEC-2001 10:20:50.39, operator status for operator OPA0
      DISKS

      The REPLY/STATUS command in this example requests that the
      operator terminal status for terminal OPA0 be displayed. The
      response from OPCOM indicates that terminal OPA0 is enabled to
      receive messages from disk devices.

    6.$ REPLY/BELL/TERMINAL=TTC1: "YOUR FILE HAS COMPLETED PRINTING. BOB S."

      The REPLY command in this example sends a message to the user
      logged in at terminal TTC1. When the message displays, a bell
      rings at that terminal.

    7.$ REPLY/ENABLE
      %OPCOM, 24-DEC-2001 10:22:19.75, operator status for operator OPA0
      CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER,
      LICENSE, OPER11, OPER12

         .
         .
         .
      $ REPLY/DISABLE=(PRINTER, TAPES)
      %OPCOM, 24-DEC-2001 10:22:26.07, operator disabled, operator OPA0

      The REPLY/ENABLE command in this example designates terminal
      OPA0 to receive messages from all facilities. Later, the
      REPLY/DISABLE command selectively disables OPA0 from receiving
      messages pertaining to print devices and tapes.
Close Help