directory createCreates a new directory of the specified name. The syntax is:
directory create directory_name_list [-attribute attribute_list [-single]] Options
-attribute attribute_list -attribute {{attr value} {attr value}} See the Attributes topic of this reference page for a descriptions of the CDS_Convergence attribute and the CDS_UpgradeTo attribute.
-single
-replica
-clearinghouse clearinghouse_name
Description An optional -attribute option specifies a list of attributes to be included in each created directory. The attribute values are multivalued unless the -single option is specified, in which case all attributes are single-valued. The -single option is valid only if the -attribute option is specified. The -clearinghouse option specifies one clearinghouse to create all the directories in. The value of this option is not a list, it is only one clearinghouse name to create all the directories named in the argument in. If this option is not specified, the new directories are created in the same clearinghouse as the parent directory. The directory create command also takes a -replica option which indicates that a directory replica is created; when this option is used, the -clearinghouse option is required. Returns an empty string on success.
Privileges Required · r (read) and i (insert) permission to the parent directory; · w (write) permission to the clearinghouse in which the master replica of the new directory is to be stored. In addition, the server principal (hosts/hostname/cds-server) must have r (read) and i (insert) permission to the parent directory.
Examples
dcecp> directory create /.:/sales
|