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


cimcli di (deleteInstance)

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

cimcli di (deleteInstance)

Purpose

Deletes the specified instance or interactively one instance from the specified class.

Operation

Read syntax diagramSkip visual syntax diagram>>-+-di-------------+--+-classname---------+-------------------->
   '-deleteInstance-'  '-| Instance name |-'
 
>--+-----------+--| Common options |---------------------------><
   '- -n--path-'
 

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 delete. cimcli then performs deleteInstance with the selected instance name.

Options

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

Examples

cimcli di CIM_Person

Interactively deletes an instance of class CIM_Person.

Results

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

There is no response if the instance was successfully deleted, or an exception returned if there were any errors.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014