Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
cimcli ci (createInstance) z/OS Common Information Model User's Guide SC34-2671-00 |
|
cimcli ci (createInstance)PurposeCreates one instance of the specified class with the provided properties in the repository. Operation>>-+-ci-------------+--classname--------------------------------> '-createInstance-' .--------------------------------------. V | >----+----------------------------------+-+---------------------> '-propertyName--+- = --+-------+-+-' | '-value-' | '- ! ------------' >--+-----------+--| Common options |--------------------------->< '- -n--path-' UsageThe classname parameter defines the class for which the instance is to be created. The optional set of parameters defines the properties to be provided (see also cimcli Instance name). The command reads the specified class and inserts the properties. The command will be rejected if the class does not exist in the namespace. Specify a value for a property name according to its type. Follow the syntax rules as specified in Common Information Model Specification, DSP0004, Version 2.3 by the DMTF. Note special syntax rules to define
OptionsFor special options and "Common options", see cimcli Options. Examples
Creates an instance of the class CIM_Person. ResultsThe command returns the object path of the created instance if the call to the CIM server was performed. Otherwise it returns the exception received.
|
Copyright IBM Corporation 1990, 2014
|