HP 3PAR CIM API Programming Reference
GetError() Method
When the job is executing or has terminated without error, then this method returns no CIM_Error
instance. However, if the job has failed because of some internal error, then a CIM_Error instance
is returned. This method is only used to fetch the failure reason for jobs that failed on their own,
i.e., not jobs that are canceled by the user.
uint32 GetError(
[Out,
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 60 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
Copy Services Subprofile 73