add object(8cds) — Maintenance
NAME
add object - Adds a value to a modifiable, set-valued attribute of an object entry
SYNOPSIS
cdscp add object object-name attribute-name = attribute-value
ARGUMENTS
object-nameThe 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
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 OSF DCE Administration Guide for more information about attributes.
Privileges Required
You must have w (write) permission to the object entry.
NOTES
This command is replaced at DCE Version 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLES
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 exists, as shown in the following:
OID LABEL SYNTAX
1.3.22.1.3.70 printcap char
Then enter the following command to assign the value ps to the attribute printcap:
cdscp> add object /.:/subsys/deskprinter printcap = ps
RELATED INFORMATION
Commands:
create object(8cds), delete object(8cds), list object(8cds), remove object(8cds), set object(8cds), show object(8cds).
Books: OSF DCE Administration Guide.