CDO$HELP.HLB  —  CDO Commands, DELETE  PARTITION
    Format

      DELETE  PARTITION  [ qualifier ] ...   partition-name ,... .

1  –  Parameters

1.1  –  partition-name

    Specifies the partition you are deleting.

2  –  Qualifiers

2.1    /PARENTS

    Format options:

       /PARENTS
       /NOPARENTS (default)

    Specifies whether CDO deletes parents. CDO cannot delete a
    parent that is also a parent of an element outside the partition
    or partition hierarchy. When CDO cannot delete any parents,
    you receive an informational notice. When CDO can delete some
    parents, you do not receive a notice.

2.2    /LOG

    Format options:

       /LOG
       /NOLOG (default)

    Specifies whether CDO displays text confirming that the partition
    is deleted.

3  –  Description

    The DELETE PARTITION command deletes a partition and, optionally,
    all the partition's children to the bottom, or root, of the
    partition hierachy.

    Since a partition is a nonversioned element, CDO does not accept
    a branch designation or a version number in partition names.

    If a partition is a child, you must delete its parent or
    parents before you delete the partition. If the partition's
    immediate parent is a child of another element, you must trace
    the relationships back until you reach the element that has no
    parents.

    An error occurs if you attempt to delete a partition that
    contains elements. Promote or delete elements from a partition
    prior to issuing the DELETE PARTITION command.

4  –  Examples

    1.CDO>  DELETE PARTITION /PARENTS FRONT_END.

      In this example, the DELETE PARTITION command with the /PARENTS
      qualifier deletes all the parent partitions of FRONT_END.

    2.CDO>  DELETE PARTITION /LOG REPORTS.
      %CDO-I-ENTDEL, entity CDD$DISK:[SMITH.PART]REPORTS deleted

      In this example, the DELETE PARTITION command with the /LOG
      qualifier confirms that CDO deleted the partition REPORTS.
Close Help