object create
Creates a new object entry in CDS. The syntax is:
object create object_name_list [-attribute attribute_list [-single]]
Options
-attribute Allows you to specify attributes using an attribute list. (See Attributes).
-single Valid only with the -attribute option, this option specifies that attribute values are single-valued. Otherwise, attributes are multivalued.
Description The object create operation creates a new object entry in the Cell Directory Service. This task is usually done through a client application. The required
object_name argument is the full CDS name of the object entry to be created.
Optionally, you can use the -attribute option to associate one or more attributes (see Attributes) with each object being created. The attribute values are multivalued
unless the -single option is specified, in which case all attributes are single-valued. The -single option is only valid if the -attribute option is specified. This
operation returns an empty string on success.
Privileges Required You must have i (insert) permission to the parent directory.
Examples The following command creates an object entry named /.:/sales/east/floor1cp. The object entry describes a color printer on the
first floor of a company's eastern sales office.
dcecp> object create /.:/sales/east/floor1cp -attribute \ {{CDS_Class printer} {CDS_ClassVersion 1.0}}
dcecp>
|