OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
then the previous command would change the values as follows:
{multi_name value1}
32.4.3 Deleting Attribute Instances
Use the dcecp modify command with the -remove option to delete attribute instances
attached to an object. To delete all instances of an attribute from an object, supply the
attribute name to the -remove option. For example, the following command deletes all
instances of the MVSname attribute from the principal named delores:
dcecp> principal modify delores -remove MVSname
To remove a single instance of a multivalued attribute, supply the attribute name and the
attribute value. For example, the following command deletes only the instance value5
from the multivalued attribute named multi-value. All other values and the attribute
itself remain intact.
dcecp> principal modify delores -remove {multi-value value5}
However, if you delete the last instance of a multivalued attribute, dcecp will also
delete the attribute from the object because an attribute without a value cannot be
attached to an object. Note that you cannot combine deleting multivalued attributes and
values from multivalued attributes with the same command.
To delete more than one attribute from an object, you must use the -types option. This
option tells dcecp that all the values supplied are the names of attribute types, not
attribute values. For example, the following sample command uses the -types option to
delete the attributes named MVSname and MVSinteger from the principal delores:
dcecp> principal modify delores -remove {MVSname MVSinteger} -types
Without the -types option, dcecp will assume that MVSinteger is the value for the
MVSname attribute and, because no such value exists, the command will fail.
32.4.4 UsingAttribute Sets
At attribute set is a collection of attribute UUIDs that identify the attribute instances that
are members of the set. Attribute sets let you group related attributes instances on an
object for easier access. For example, if you use the dcecp show operation to display
an attribute set, the display expands the attribute set and includes all members of the set
in the display output. This attribute expansion works only for dcecp commands that
display information. The commands to create and modify attribute instances work only
on the specific attribute named in the command. Since the attributes that are set
members exist independently of the attribute set, they can be manipulated directly like
any other attribute.
32 14 Tandem Computers Incorporated 124243