VMS Help  —  DEFRAGMENT  REMOVE
    The REMOVE subcommand deletes the specified script from the
    defragmentation scheduling and parameter database.

    Format

      DEFRAGMENT REMOVE  { script-name[,...] } [ /QUALIFIERS ]

1  –  Parameters

 script-name

    The script-name parameter specifies the script to remove from the
    defragmentation database. You can use wildcards in the script-
    name specification. Use an asterisk (*) to take action on all
    scripts on the VMScluster system. Use a percent sign (%) to match
    a single character in the script-name specification.

    This parameter is not allowed if the /ALL qualifier is used.

2  –  Restrictions

    o  If the /ALL qualifier is used, then the script-name parameter
       cannot be used.

3  –  Qualifiers

3.1    /AFTER

       /AFTER=time
       /NOAFTER (default)

          The /AFTER qualifier does not delete the script
          until after the specified time. Specify time as a
          VMS absolute time or combination absolute and delta
          time. Refer to the VMS DCL Concepts Manual for more
          information on how to specify time.

3.2    /ALL

       /ALL
       /NOALL (default)

          The /ALL qualifier indicates that all scripts are
          to be removed from the scheduling and parameter
          database.

          If /ALL is used, the script-name parameter is not
          allowed.

4  –  Example

    The following example shows how to remove a script after a
    specified time.

    1.

    $ DEFRAGMENT REMOVE MY_SCRIPT/AFTER=16:30

    In this example, MY_SCRIPT is removed from the database. It is
    removed after 16:30 on the day this command is entered.
Close Help