Previous Next

Entering the directory create Command

Use the directory create command to create a new directory (master replica) with the name that you specify. When you use this command, CDS, by default, stores the master replica of the new directory in the same clearinghouse that stores the master replica of the new directory's parent directory.

For example, to create a directory named /.:/sales and store the master replica of the new directory in the root directory's initial clearinghouse, you enter the following command:

dcecp> directory create /.:/sales
dcecp>

Note: For the directory creation to succeed, the master replica of the new directory's parent directory must be available when you enter the command.

You can use the directory create command's -clearinghouse option to store the master replica of a new directory in a different clearinghouse than the parent directory's clearinghouse. For example, to place the new directory created in the previous example into another clearinghouse (/.:/Chicago1_CH), you would enter the following command:

dcecp> directory create /.:/sales -clearinghouse /.:/Chicago1_CH
dcecp>

(See thedirectory(8dce) for complete information on arguments and options to the directory create command.)