add object(1m) Open Software Foundation add object(1m)
NAME [Toc] [Back]
add object - Adds a value to a modifiable, set-valued attribute
(including application-defined attributes) of an object entry
SYNOPSIS [Toc] [Back]
cdscp add object object-name attribute-name = attribute-value
ARGUMENTS [Toc] [Back]
object-name
The full name of the object entry.
attribute-name
The name of a particular attribute. Specify only one
attribute at a time. See the cds_attributes file for the
list of attributes and corresponding data types that your
application uses.
attribute-value
The value of a particular attribute. The value of an
application-defined attribute is dependent on the type of
attribute.
DESCRIPTION [Toc] [Back]
The add object command adds a value to a modifiable, set-valued
attribute (including application-defined attributes) of an object
entry. If the attribute does not exist, this command creates it.
Usually, this task is performed through the client application. See
the DCE Administration Guide for more information about attributes.
Privilege Required [Toc] [Back]
You must have write permission to the object entry.
NOTE [Toc] [Back]
This command is replaced at Revision 1.1 by the dcecp command and may
not be provided in future releases of DCE.
EXAMPLE [Toc] [Back]
To add the value ps to the attribute printcap of an object entry named
/.:/subsys/deskprinter, read the cds_attributes file to verify that
the attribute shown in the following display exists:
OID LABEL SYNTAX
1.3.22.1.3.70 printcap char
Enter the following command to assign the value ps to the attribute
printcap:
dscp> add object /.:/subsys/deskprinter printcap = ps
Hewlett-Packard Company - 1 OSF DCE 1.1/HP DCE 1.8 PHSS_26394-96
add object(1m) Open Software Foundation add object(1m)
RELATED INFORMATION [Toc] [Back]
Commands: create object(1m), delete object(1m), list object(1m),
remove object(1m), set object(1m), show object(1m)
Books: OSF DCE Administration Guide
Hewlett-Packard Company - 2 -OSF DCE 1.1/HP DCE 1.8 PHSS_26394-96 [ Back ] |