set object(1m) Open Software Foundation set object(1m)
NAME [Toc] [Back]
set object - Changes the value of a modifiable, single-valued
attribute of an object entry
SYNOPSIS [Toc] [Back]
cdscp set object object-name attribute-name = attribute-value
ARGUMENTS [Toc] [Back]
object-name
The full name of the object entry.
attribute-name
The name of the attribute to be modified. 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 set object command changes the value of a modifiable, singlevalued
attribute 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.
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 change the value of the sales_record attribute to region2 of an
object entry named /.:/Q1_records, follow these steps:
1. Read the cds_attributes file to check that the attribute
sales_record is listed, as shown in the following display:
OID LABEL SYNTAX
1.3.22.1.3.66 sales_record char
Hewlett-Packard Company - 1 OSF DCE 1.1/HP DCE 1.8 PHSS_26394-96
set object(1m) Open Software Foundation set object(1m)
2. Enter the following command to assign the value region2 to the
attribute sales_record of an object entry named /.:/Q1_records.
dscp> set object /.:/Q1_records sales_record = region2
RELATED INFORMATION [Toc] [Back]
Commands: add object(1m), create object(1m), delete object(1m), list
object(1m), remove 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 ] |