HELPLIB.HLB  —  TYPE  Qualifiers  /TAIL
       /TAIL[=n]

    Displays the last several lines of a log file. The value, n,
    defaults to p-2 where p is the current terminal page length. You
    can use TYPE/TAIL only if all of the following criteria are true:

    o  File organization is sequential.

    o  The longest record is less than 512 bytes.

    o  The record format is either VAR, VFC, STM, STMCR or STMLF
       (for more information, see the description of FAB$B_RFM in the
       OpenVMS Record Management Services Reference Manual).

    o  The file being typed is on a device that supports random
       access. The TYPE/TAIL command does not work on magnetic tape
       drives.

    Even with this criteria, some file conditions cannot be
    anticipated and may not allow display of the last several lines
    of a log file, resulting in the following error message:

    %TYPE-W-READERR, error reading DEVICE:[DIRECTORY]FILE.EXT;1
    -SYSTEM-E-UNSUPPORTED, unsupported operation or function
Close Help