Format DEFINE DIRECTORY directory-name .
1 – Parameters
1.1 – directory-name
Specifies the directory you are creating.
2 – Description
The DEFINE DIRECTORY command creates a CDO repository directory. DEFINE DIRECTORY evaluates the directory name you supply to determine if it is a logical name. If the directory name is a logical name, CDO translates it. If the translation is not a valid name for a directory, CDO does not create the directory. CDO automatically creates any directories in the path name of the directory-name parameter that do not already exist.
3 – Examples
1.CDO> DEFINE DIRECTORY NODE::DISK1:[BOB.DICT]TOP. In this example, the DEFINE DIRECTORY command creates a directory called TOP under the repository anchor NODE::DISK1:[BOB.DICT]. Or, you can define the directory TOP by setting default to the repository anchor DISK1:[BOB.DICT] then issuing the DEFINE DIRECTORY command. 2.CDO> DEFINE DIRECTORY DISK1:[BOB.DICT]PERSONNEL.EMPLOYEES.BENEFITS. In this example, the DEFINE DIRECTORY command creates the BENEFITS directory three levels below the CDO repository anchor DISK1:[BOB.DICT]. Oracle CDD/Repository will create the intermediate directories if they do not already exist.