HP OpenVMS Systems

ask the wizard
Content starts here

Obtaining operator response? (OPCOM REQUEST)

» close window

The Question is:

in batch mode, I have the command :
$ request/reply/to=oper10 "message_text" to send message to the operator.
Is it possible to recover and exploit the operator's response in the command
$  reply/to=ident " operator's response " . I want to execute  other task
following the operator's response. I don't know if it is the easiest  to do
it .

The Answer is :

  An image using the sys$sndopr system service can be easily coded to do
  this and to set up a DCL symbol containing the operator response using
  the sys$set_symbol call, but access to the response from the operator
  is not presently available via the DCL REQUEST interface.

answer written or last revised on ( 15-FEB-2000 )

» close window