CDO$HELP.HLB  —  CDO Commands, REMOVE
    Format

              { FIELD              }
      REMOVE  { RECORD             }   directory-name ,...
              { GENERIC  type-name }
              {                    }

1  –  Parameters

1.1  –  type-name

    Specifies the type of the generic element.

1.2  –  directory-name

    Specifies the directory name you are removing.

2  –  Description

    The REMOVE command allows you to remove a directory name for an
    element that has multiple directory names in a CDO repository or
    repositories. REMOVE affects all versions of an element.

    If you issued the ENTER command to reserve elements in a
    distributed environment, you must issue the REMOVE command
    after replacing these elements. The REMOVE command deletes the
    directory name you entered for your element, so other distributed
    users cannot access or change it by mistake. See the Using Oracle
    CDD/Repository on OpenVMS Systems for information on reserving
    elements in a distributed environment.

    If the name you specify is the only directory name for an element
    or the element does not have a parent, CDO records an error and
    does not remove the directory name.

3  –  Examples

    1.CDO>  REMOVE FIELD POSTAL_CODE

      In this example, the REMOVE command deletes the POSTAL_CODE
      alternate directory name from the repository.

    2.CDO>  REPLACE COLLECTION CORP_DATA_DEFS
      CDO>  REMOVE COLLECTION CORP_DATA_DEFS

      In this example, the REMOVE command deletes the CORP_DATA_DEFS
      alternate directory name on a local node.
Close Help