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


cimcli ti (testInstance)

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

cimcli ti (testInstance)

Purpose

Tests an instance or a class for the equality of the specified properties.

Operation

Read syntax diagramSkip visual syntax diagram>>-+-ti-----------+--+-classname---------+---------------------->
   '-testInstance-'  '-| Instance name |-'
 
   .----------------------------------.
   V                                  |
>----+------------------------------+-+------------------------->
     '-propertyName--+------------+-'
                     '- = --value-'
 
   .-------------------.
   V                   |
>----+---------------+-+--| Common options |-------------------><
     '-+- -i-------+-'
       '- -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 test. cimcli then performs testInstance with the selected instance name.

Options

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

Examples

cimcli ti TST_Person Name=Mike SSN=333 -n test/TestProvider 

Results

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

Returns an error code if the given properties and values do not match.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014