VMS Help
DEFRAGMENT, REMOVE

 *Conan The Librarian

    The REMOVE subcommand deletes the specified script or node from
    the defragmentation scheduling and parameter database.

    Format

      DEFRAGMENT REMOVE  { script-name[,...] | node-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 VAXcluster 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.

 node-name

    The node-name parameter specifies the node to remove from the
    defragmentation database.

  2 - Restrictions

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

    o  If the node is a script, it cannot be removed.

    o  If the node has a scheduler or defragmentation process
       running, it cannot be removed.

  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 OpenVMS User's 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.

 3.3 - /NODE

       /NODE

          The /NODE qualifier removes the specified node name
          from the scheduling and parameter database.

  4 - Examples

      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.

    2.$ DEFRAGMENT REMOVE MYNODE/NODE

      In this example, MYNODE is removed from the database.
  Close     Help