HELPLIB.HLB  —  DELETE  file  Qualifiers

1    /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 /CREATED, /EXPIRED, and /MODIFIED
    qualifiers, which also allow you to select files according
    to time attributes. If you specify none of these four time
    qualifiers, the default is the /CREATED qualifier.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

2    /BEFORE

       /BEFORE[=time]

    Selects only those files dated prior to the specified time. You
    can specify time as absolute time, as a combination of absolute
    and delta times, or as one of the following keywords: BOOT,
    LOGIN, 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
    OpenVMS User's Manual or the online help topic Date.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

3    /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
    VSI OpenVMS Guide to System Security.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

4    /CONFIRM

       /CONFIRM
       /NOCONFIRM (default)

    Controls whether a request is issued before each delete 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
    Return. 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.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

5    /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
    /BACKUP, /EXPIRED, and /MODIFIED qualifiers, which also allow
    you to select files according to time attributes. If you specify
    none of these four time qualifiers, the default is the /CREATED
    qualifier.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

6    /ERASE

       /ERASE
       /NOERASE (default)

    When you delete a file, the area in which the file was stored is
    returned to the system for future use. The data that was stored
    in that location still exists in the system until new data is
    written over it. When you specify the /ERASE qualifier, the
    storage location is overwritten with a system specified pattern
    so that the data no longer exists.

7    /EXCLUDE

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

    Excludes the specified files from the delete operation. You can
    include a directory but not a device in the file specification.
    The asterisk (*)  and the percent sign (%) wildcard characters
    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.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

8    /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 /BACKUP, /CREATED, and /MODIFIED
    qualifiers, which also allow you to select files according
    to time attributes. If you specify none of these four time
    qualifiers, the default is the /CREATED qualifier.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

9    /GRAND_TOTAL

       /GRAND_TOTAL (Alpha/Integrity servers only)

    Displays the total number of files and blocks or bytes deleted.
    The display is shown as blocks or bytes depending on the current
    default setting. You can use SHOW PROCESS/UNITS to display the
    current default. To change the default, execute the DCL command
    SET PROCESS/UNITS=BYTES or SET PROCESS/UNITS=BLOCKS.

10    /IGNORE

       /IGNORE=INTERLOCK (Alpha/Integrity servers only)

    Allows you to mark a write-accessed file for deletion. This
    removes the file name entry, and the file is deleted when it
    is closed by the final user.

11    /LOG

       /LOG
       /NOLOG (default)

    Controls whether the DELETE command displays the file
    specification of each file after its deletion.

12    /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 /BACKUP, /CREATED, and /EXPIRED
    qualifiers, which also allow you to select files according
    to time attributes. If you specify none of these four time
    modifiers, the default is the /CREATED qualifier.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

13    /SINCE

       /SINCE[=time]

    Selects only those files dated on or after the specified time.
    You can specify time as absolute time, as a combination of
    absolute and delta times, or as one of the following keywords:
    BOOT, JOB_LOGIN, LOGIN, 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 about specifying time values, see the
    OpenVMS User's Manual or the online help topic Date.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

14    /STYLE

       /STYLE=keyword

    Specifies the file name format for display purposes while
    deleting files.

    The valid keywords for this qualifier are CONDENSED and EXPANDED.
    Descriptions are as follows:

    Keyword     Explanation

    CONDENSED   Displays the file name representation of what is
    (default)   generated to fit into a 255-length character string.
                This file name may contain a DID or a FID in the file
                specification.
    EXPANDED    Displays the file name representation of what is
                stored on disk. This file name does not contain any
                DID or FID abbreviations.

    The keywords CONDENSED and EXPANDED are mutually exclusive. This
    qualifier specifies which file name format is displayed in the
    output message, along with the confirmation if requested.

    File errors are displayed with the CONDENSED file specification
    unless the EXPANDED keyword is specified.

    See the OpenVMS User's Manual for more information.

15    /SYMLINK

       /SYMLINK=keyword

    The valid keywords for this qualifier are [NO]WILDCARD and
    [NO]ELLIPSIS. Descriptions are as follows:

    Keyword     Explanation

    WILDCARD    Indicates that symlinks are enabled during wildcard
                searches.
    NOWILDCARD  Indicates that symlinks are disabled during directory
                wildcard searches.
    ELLIPSIS    Equivalent to WILDCARD (included for command
                symmetry).
    NOELLIPSIS  Indicates that symlinks are matched for all wildcard
                fields except for ellipsis.

    If the file named in the DELETE command is a symlink, the command
    operates on the symlink itself.

                                   NOTE

       Using this qualifier with DELETE/TREE command results in an
       error.

16    /TREE

    Recursively deletes all files and sub directories excluding the
    parent directory.

    You can specify only the following qualifiers with the /TREE
    qualifier:

    /ERASE      /GRAND_      /IGNORE     /LOG
                TOTAL
    /STYLE

                                  NOTE

    If DELETE/TREE command finds a symbolic link file, then only
    the symbolic link file is deleted. The symbolic link file cannot
    be traversed. This behavior is true for all the values of symbolic
    link search mode, namely, [NO]WILDCARD and [NO]ELLIPSIS.
Close Help