Copyright Digital Equipment Corp. All rights reserved.

Examples

   1.$ TYPE COMMON.DAT

     In this example, the TYPE command requests that the file
     COMMON.DAT be displayed at the terminal.

   2.$ TYPE *.DAT
     This is the first line in the file AA.DAT.
        .
        .
        .
<Ctrl/O>

     This is the first line in the file BB.DAT.
        .
        .
        .

<Ctrl/Y>

     Interrupt
     $ STOP

     In this example, the TYPE command contains an asterisk (*)
     wildcard character in place of the file name. All files with
     file types of .DAT are scheduled for display. When Ctrl/O is
     pressed, output of the current file stops and the TYPE command
     begins displaying the next file. The Ctrl/Y function interrupts
     the command; the STOP command terminates the TYPE command.

   3.$ TYPE LETTER*.MEM
     December 14, 2002
        .
        .
        .

<Ctrl/Y>

     Interrupt
     $ SHOW TIME
      14-DEC-2002 15:48:07
     $ CONTINUE
     Sincerely yours,
        .
        .
        .

     In this example, the TYPE command displays all files whose
     names begin with the word LETTER and have the file type .MEM.
     While the files are being displayed, the user presses Ctrl/Y
     to interrupt the TYPE operation and to display the time. After
     entering the SHOW TIME command, the user enters the CONTINUE
     command to resume the TYPE operation.

   4.$ TYPE/OUTPUT=SAVETEXT.TXT *.TXT

     In this example, the TYPE command writes all TXT files in your
     default directory to a file called SAVETEXT.TXT (also in your
     default directory).

   5.$ TYPE MEXICO::NOTICE.TEXT/OUTPUT=TEMP.TEXT

     In this example, the TYPE command requests that the file
     NOTICE.TEXT at remote node MEXICO be written to the output
     file TEMP.TEXT on the local node, rather than to SYS$OUTPUT.

   6.$ TYPE SECSYS"FILES OFFICEFIL"::"TASK=SHOWUSERS"

             VAX/VMS Interactive Users
                14-DEC-2002 17:20:13.30
         Total number of interactive users = 5
      Username     Process Name      PID     Terminal
      MIRANDA      Sec1           00536278   TXA1:
      JESSICA      Sec2           00892674   VTA2:
      EMILY        Sec3           00847326   TXA3:
      ANDREW       Sec4           02643859   RTA1:
      BRIAN        System Mangr   00007362   VTA1:

     In this example, the TYPE command executes the command
     procedure SHOWUSERS.COM found in the SYS$LOGIN directory of
     user FILES on remote node SECSSYS. The output of the TYPE
     command then is displayed at the local node.