CDO$HELP.HLB  —  CDO Commands, COPY  Examples
    1.CDO>  COPY DISK1:[JONES.DICT]PERSONNEL.LAST_NAME
      cont>   DISK2:[BOB.SHOP]WORKERS.LAST_NAME

      This example uses the full path name to copy the LAST_NAME
      field element from the DISK1:[JONES.DICT]PERSONNEL directory to
      the DISK2:[BOB.SHOP]WORKERS directory.

    2.CDO>  COPY CORPORATE.LAST_NAME, FIRST_NAME
      cont>   DISK1:[JONES.DICT]PERSONNEL.*

      In this example, the COPY command with the asterisk (*)
      wildcard character copies the LAST_NAME and FIRST_NAME field
      elements into the [JONES.DICT]PERSONNEL directory.

    3.CDO>  COPY CORPORATE.ADDRESS
      cont>   [JONES.DICT]PERSONNEL.EMPLOYEE_ADDRESS

      In this example, the COPY command copies the ADDRESS record
      element into the [JONES.DICT]PERSONNEL directory and gives it a
      new name, EMPLOYEE_ADDRESS.

    4.CDO>  COPY DISK1:[CORPORATE.DICT]CORP_DEFS...
      cont>    DISK1:[SMITH.DICT]DEVELOPMENT...

      This example uses the ellipsis (...) to copy an entire
      subhierarchy from the CORPORATE repository (starting with the
      CORP_DEFS directory) into the DEVELOPMENT directory of Smith's
      repository.
Close Help