z/OS Common Information Model User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


cimcli sp (setProperty)

z/OS Common Information Model User's Guide
SC34-2671-00

cimcli sp (setProperty)

Purpose

Sets a single property on a named instance.

Operation

Read syntax diagramSkip visual syntax diagram>>-+-sp----------+--+-classname---------+----------------------->
   '-setProperty-'  '-| Instance name |-'
 
>--propertyName-- = --value--| Common options |----------------><
 

Usage

If the instance name is specified, the operation is performed directly. If a class name is specified, the enumerateInstanceNames command is performed with the class name and the list of returned instance names is presented to the user to select one to set. cimcli then performs setProperty with the selected instance name.

Options

For special options and "Common options", see cimcli Options.

Examples

cimcli sp 'CIM_Person.Name="Michael"' HomePhone=123456789

Sets the HomePhone property to 123456789.

Results

0
Successful execution of the operation
all values other than 0
The execution on the operation returned an error.

There is no response at the command prompt when the property has been successfully set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014