Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

PARAMETER

QUALIFIERS

EXAMPLES

/BACKUP

/BEFORE

/BY_OWNER

/CONFIRM

/CREATED

/EXCLUDE

/EXPIRED

/MODIFIED

/OUTPUT

/PAGE

/SINCE

HELP TYPE — VMS 5.5

   Displays the contents of a file or group of files on the current
   output device.

   Format

     TYPE  filespec[,...]

Additional information available:

PARAMETERQUALIFIERSEXAMPLES

PARAMETER

filespec[,...]
   Specifies one or more files to be displayed. If you specify a file
   name and not a file type, the file type defaults to LIS. The TYPE
   command displays all files that satisfy the file description.

   Wildcard characters (* and %)  are allowed in place of the
   directory name, file name, file type, or file version number
   field. If you specify more than one file, separate the file
   specifications with commas (,)  or plus signs (+). The files
   are displayed in the order listed.

QUALIFIERS

Additional information available:

/BACKUP/BEFORE/BY_OWNER/CONFIRM/CREATED/EXCLUDE
/EXPIRED/MODIFIED/OUTPUT/PAGE/SINCE

/BACKUP

   Modifies the time value specified with the /BEFORE or the /SINCE
   qualifier. The /BACKUP qualifier selects files according to the
   dates of their most recent backups. This qualifier is incompatible
   with the following qualifiers that also allow you to select files
   according to time attributes: /CREATED, /EXPIRED, and /MODIFIED.
   If you specify none of these four time qualifiers, the default is
   the /CREATED qualifier.

/BEFORE

      /BEFORE[=time]

   Selects only those files dated prior to the specified time.
   You can specify time as an absolute time, as a combination of
   absolute and delta times, or as one of the following keywords:
   TODAY (default), TOMORROW, or YESTERDAY. Specify one of the
   following qualifiers with the /BEFORE qualifier to indicate the
   time attribute to be used as the basis for selection: /BACKUP,
   /CREATED (default), /EXPIRED, or /MODIFIED.

   For complete information on specifying time values, see the VMS
   DCL Concepts Manual.

/BY_OWNER

      /BY_OWNER[=uic]

   Selects only those files whose owner user identification code
   (UIC) matches the specified owner UIC. The default UIC is that of
   the current process.

   Specify the UIC by using standard UIC format as described in the
   VMS DCL Concepts Manual.

/CONFIRM

      /CONFIRM
      /NOCONFIRM (default)

   Controls whether a request is issued before each typing operation
   to confirm that the operation should be performed on that file.
   The following responses are valid:

   YES       NO        QUIT

   TRUE      FALSE     Ctrl/Z

   1         0         ALL

             <Return>

   You can use any combination of uppercase and lowercase letters
   for word responses. Word responses can be abbreviated to one or
   more letters (for example, T, TR, or TRU for TRUE), but these
   abbreviations must be unique. Affirmative answers are YES, TRUE,
   and 1. Negative answers include: NO, FALSE, 0, and pressing
   the Return key. Entering QUIT or pressing Ctrl/Z indicates that
   you want to stop processing the command at that point. When you
   respond by entering ALL, the command continues to process, but no
   further prompts are given. If you type a response other than one
   of those in the list, DCL issues an error message and redisplays
   the prompt.

/CREATED

      /CREATED (default)

   Modifies the time value specified with the /BEFORE or the /SINCE
   qualifier. The /CREATED qualifier selects files based on their
   dates of creation. This qualifier is incompatible with the
   following qualifiers that also allow you to select files according
   to time attributes: /BACKUP, /EXPIRED, and /MODIFIED. If you
   specify none of these four time qualifiers, the default is the
   /CREATED qualifier.

/EXCLUDE

      /EXCLUDE=(filespec[,...])

   Excludes the specified files from the type operation. You can
   include a directory but not a device in the file specification.
   Wildcard characters (* and %)  are allowed in the file
   specification. However, you cannot use relative version numbers to
   exclude a specific version. If you specify only one file, you can
   omit the parentheses.

/EXPIRED

   Modifies the time value specified with the /BEFORE or the /SINCE
   qualifier. The /EXPIRED qualifier selects files according to their
   expiration dates. (The expiration date is set with the SET FILE
   /EXPIRATION_DATE command.) The /EXPIRED qualifier is incompatible
   with the following qualifiers that also allow you to select files
   according to time attributes: /BACKUP, /CREATED, and /MODIFIED. If
   you specify none of these four time qualifiers, the default is the
   /CREATED qualifier.

/MODIFIED

   Modifies the time value specified with the /BEFORE or the /SINCE
   qualifier. The /MODIFIED qualifier selects files according to
   the dates on which they were last modified. This qualifier is
   incompatible with the following qualifiers that also allow you to
   select files according to time attributes: /BACKUP, /CREATED, and
   /EXPIRED. If you specify none of these four time modifiers, the
   default is the /CREATED qualifier.

/OUTPUT

      /OUTPUT[=filespec]
      /NOOUTPUT

   Controls where the output of the command is sent. If you
   specify the /OUTPUT=filespec qualifier, the output is sent to
   the specified file, rather than to the current output device,
   SYS$OUTPUT. If you do not enter the qualifier, or if you enter the
   /OUTPUT qualifier without a file specification, the output is sent
   to SYS$OUTPUT.

   If you enter the /OUTPUT qualifier with a partial file
   specification (for example, /OUTPUT=[JONES]), TYPE is the default
   file name and LIS the default file type. If you enter a file
   specification, it may not include any wildcard characters.

   If you enter the /NOOUTPUT qualifier, output is suppressed.

   The /OUTPUT qualifier is incompatible with the /PAGE qualifier.

/PAGE

      /PAGE
      /NOPAGE (default)

   Controls whether output from the TYPE command is displayed one
   screen at a time. If more than one file has been requested, you
   can cancel the display of the current file and continue with the
   next file by pressing Ctrl/Z.

   The /PAGE qualifier is incompatible with the /OUTPUT qualifier.

/SINCE

      /SINCE[=time]

   Selects only those files dated after the specified time. You can
   specify time as an absolute time, a combination of absolute and
   delta times, or as one of the following keywords: TODAY (default),
   TOMORROW, or YESTERDAY. Specify one of the following qualifiers
   with the /SINCE qualifier to indicate the time attribute to be
   used as the basis for selection: /BACKUP, /CREATED (default),
   /EXPIRED, or /MODIFIED.

   For complete information on specifying time values, see the VMS
   DCL Concepts Manual.

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 a 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
       April 19, 1990
          .
          .
          .

<Ctrl/Y>

       Interrupt
       $ SHOW TIME
        19-APR-1990 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 SECSSYS"FILES OFFICEFIL"::"TASK=SHOWUSERS"

                 VAX/VMS Interactive Users
                  19-APR-1990 17:20:13.30
           Total number of interactive users = 5
        Username     Process Name      PID     Terminal
        KAITLIN      Sec1           00536278   TXA1:
        LINDSEY      Sec2           00892674   VTA2:
        ALYSON       Sec3           00847326   TXA3:
        KIM          Sec4           02643859   RTA1:
        GERARD       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.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026