Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ set_object(8cds) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

set object(8cds)  —  Maintenance

NAME

set object - Changes the value of a modifiable, single-valued attribute of an object entry

SYNOPSIS

cdscp set object object-name attribute-name = attribute-value

ARGUMENTS

object-nameThe 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

The set object command changes the value of a modifiable, single-valued 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. 

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 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 make sure 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

     2.Enter the following command to assign the value region2 to the attribute sales_record of an object entry named /.:/Q1_records:

cdscp> set object /.:/Q1_records sales_record = region2

RELATED INFORMATION

Commands:

add_object(8cds), create_object(8cds), delete_object(8cds), list_object(8cds), remove_object(8cds), show_object(8cds). 

Books: OSF DCE Administration Guide. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026