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


cimcli gi (getInstance)

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

cimcli gi (getInstance)

Purpose

Displays the specified instance.

Operation

Read syntax diagramSkip visual syntax diagram>>-+-gi----------+--+-classname---------+----------------------->
   '-getInstance-'  '-| Instance name |-'
 
   .--------------------------------.
   V                                |
>----+----------------------------+-+--| Common options |------><
     '-+- -n--path--------------+-'
       +- -iq-------------------+
       '- -pl--propertyNameList-'
 

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

Options

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

Examples

cimcli gi IBMzOS_UnixLocalFileSystem

Interactively returns a list of instances from class IBMzOS_UnixLocalFileSystem. The user can select one instance to be displayed.

Results

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

If an instance is specified, the operation displays the result from the CIM server.

If a class is specified, an enumerateinstanceNames CIM operation is performed, and if any instance names are returned, the result is presented for the user to select one of the instances to be displayed.

If there are no instances, the command returns an empty response.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014