VMS Help  —  PEEK  Watching  Qualifiers  /OUTPUT_LOG_FILE
   /OUTPUT_LOG_FILE [ = file_spec ]  (WATCH and SAVE_SCREEN qualifier)

   This qualifier creates a log file of the Peek/Spy session. It can
   be used with the PEEK, SPY and WATCH verbs.

   It can also be used with the SAVE_SCREEN command to start terminal
   logging. See the top-level PEEK Subtopic: Commands SAVE_SCREEN
   /OUTPUT_LOG_FILE.

   When used with the WATCH subcommand, this qualifier specifies that
   Peek/Spy should create an output log file containing everything which
   is output during the period of time in which the watcher is
   observing the user's screen.

   The default file spec is taken from the logical WATCHER$OUTPUT_LOG_FILE.
   If nothing is specified by this default and if /OUTPUT_LOG_FILE is
   specified without the optional file_spec, then PEEK will generate
   a log file in the current default directory using a default
   log-file name in one of the following formats:

         PEEK_username_terminal_name.LOG
         PEEK_terminal_name.LOG

   The first of these is used when you begin watching a terminal which
   is owned by some process. The second format is used by SPY only
   when watching an unowned terminal.

   Logging is continued until watching is terminated by one of the
   END_WATCH, NEXT or PREVIOUS sequences.

   /LOG and /OUTPUT_LOG are synonymous.

   Examples:
     $ PEEK  JONES  /OUTPUT=SAVE_OUTPUT.JONES
     - or -
     $ DEFINE  WATCHER$OUTPUT_LOG_FILE  SAVE_OUTPUT.JONES
     $ PEEK  JONES /LOG
Close Help