CDO$HELP.HLB  —  CDO Commands, PURGE  Examples
    1.CDO>  PURGE RECORD REGION.INVENTORY.PART.

      In this example, the PURGE command deletes all but the first
      and highest numbered versions of the REGION.INVENTORY.PART
      record element.

    2.CDO>  PURGE ALL GREF*.

      In this example, the PURGE command deletes all but the first
      and highest versions of each element that begins with the
      letters GREF.

    3.CDO> PURGE FIELD FIRST_NAME.
         .
         .
         .
      CDO> PURGE RECORD /DESCENDANTS FULL_NAME.

      In this example, the first PURGE command fails because the
      FIRST_NAME field element is a child of the FULL_NAME record
      element. By purging the descendants of FULL_NAME, you can
      accomplish the desired purge.
Close Help