HP 3PAR CIM API Programming Reference (OS 3.1.2 MU2) (QL226-97015, June 2013)
EmbeddedInstance ("CIM_Error"}]
String Error);
• Error: If the OperationalStatus on the Job is not “OK”, then this method returns a CIM
Error instance. Otherwise, when the Job is "OK", null is returned.
Table 59 Return Values for GetError()Operation
Explanation/NotesValuesValueMap
Success0
Invalid Parameter5
Mapping Error Code to CIM_Error
A CIM_Error object consists of the following properties:
• OwningEntity – the string “SNIA”
• MessageID –DRM26, Resource not available. Consult SMI-S section on “Standard Messages”
for detailed information on the meaning of the DRM messages.
• MessageArguments[] – An array containing the dynamic content of the message. There is only
one element, “Operation has failed”.
• Message – The formatted message. In the case of DRM26, MessageArguments and Message
are the same, “Operation has failed”.
• PerceivedSeverity – describes the severity of the error from the notifier's point of view. This
value is Low (2).
• ProbableCause - describes the probable cause of the error. This value is
“Configuration/Customization Error” (8).
• CIMStatusCode - The CIM status code that characterizes this instance. This value is
ERR_ACCESS_DENIED (2).
• CIMStatusCodeDescription – “CIM_ERR_ACCESS_DENIED”
DELETING JOB
CLI EQUIVALENCE
removetask
DELETEINSTANCE
An instance of TPD_ConcreteJob can be deleted using the intrinsic method
TPD_ConcreteJob.DeleteInstance(). If not deleted, a job exists indefinitely.
TPD_METHODRESULT
This class is used to report the extrinsic method that triggered the job and the parameters passed
to it, so that a third party client can tell what the job is and what it is doing. The class consists of
the following mandatory properties:
• InstanceID – this is a key and is identical to that of ConcreteJob this is associated with.
• PrecallIndication – string representing an embedded instance of the CIM_InstMethodCall
class, which contains the method called that triggered this job, (e.g., if this is a create vv copy
72 CIM API SMI-S Support