VMS Help  —  REQUEST  Examples
    1.$ PRINT/COPIES=2/QUEUE=LQ_PRINT  REPORT.OUT/FORM=LETTER
        Job REPRT (queue LQA1, entry 401) pending
      $ REQUEST/REPLY/TO=PRINTER -
      _$"Have queued job 401 as FORM=LETTER;  can you print it?"
      %OPCOM-S-OPRNOTIF, operator notified, waiting...10:42:16.10
      %OPCOM-S-OPREPLY, AFTER 11:00
       14-DEC-2001 10:25:32.40, request 3 completed by operator OPA0

      In this example the PRINT command requests that multiple copies
      of a file be printed using a special paper (/FORM=LETTER).
      After queueing the job to the printer, the REQUEST command
      sends a message to the system operator.

      The operator sends a reply after completing the request.

    2.$ REQUEST/REPLY  "Are you there?"
      %OPCOM-S-OPRNOTIF, operator notified, waiting...14:54:30.33
 <Ctrl/C>

      REQUEST-Enter message or cancel request with ^Z
      REQUEST-Message?<Ctrl/Z>
      %OPCOM-S-OPRNOTIF, operator notified, waiting... 14:59:01.38
      %OPCOM-F-RQSTCAN, request was canceled

      In this example the REQUEST command issues a message and
      requests a response. When no operator replies to the question,
      Ctrl/C is used to interrupt the request; then Ctrl/Z is used to
      cancel it.
Close Help