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


cimcli Instance name

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

cimcli Instance name

Instance name

Format 1:

Read syntax diagramSkip visual syntax diagram>>-'--classname--.---------------------------------------------->
 
   .-,-----------------------------------------.
   V                                           |
>----keyPropertyName--+----------------------+-+--'------------><
                      '- =--+--------------+-'
                            '-"--value1--"-'
 

For the getInstance operation, there is also an alternate way to specify an instance name:

Format 2:

Read syntax diagramSkip visual syntax diagram                 .- ---------------------------------------.
                 V                                         |
>>-classname-- ----keyPropertyName--+--------------------+-+---><
                                    '- =--+------------+-'
                                          | .-,------. |
                                          | V        | |
                                          '---value2-+-'
 

Usage

keyPropertyName
to specify an instance, all key properties of the class have to be listed

Specifying a key property with a "=", but without a value assigns the NULL value to it.

value2
Values separated by a ’,’ are only valid if you specify an array.

The new syntax listing the key properties separated by spaces now allows to specify array values.

Examples

Format 1: 'CIM_Person.CreationClassName="",Name="Mike"'

Format 2: CIM_Person CreationClassName= Name=Mike

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014