Format DELETE DIRECTORY [ qualifier ] directory-name ,... .
1 – Parameters
1.1 – directory-name
Specifies the repository directory you are deleting.
2 – Qualifiers
2.1 /LOG
Format options: /LOG /NOLOG (default) Specifies whether CDO displays text confirming that the directory is deleted.
3 – Description
The DELETE DIRECTORY command deletes a CDO directory. Unless you change directory protection, only the owner of a CDO directory or the system manager can delete a directory. You can delete only empty directories. CDO deletes only the last directory in a fully qualified path name. For example, if you specify a directory name of [SMITH.DICT]CORPORATE.PERSONNEL.SALARIED, CDO deletes only the SALARIED directory.
4 – Examples
CDO> DELETE DIRECTORY /LOG PROSPECTS. %CDO-I-DIRDEL, directory PROSPECTS deleted In this example, the DELETE DIRECTORY command with the /LOG qualifier confirms that CDO deleted the PROSPECTS directory.