3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.92
Copy Services Subprofile
CIM API Programming Reference InForm OS Version 2.3.1
5.10.6.2.2 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 5-46. Return Values for RequestStateChange() Operation
ValueMap Values Explanation/Notes
1 Not supported RequestedState not supported.
4 Failed
5 Invalid Parameter
4096 Method Parameters Checked -
Transition Started
This is the normal successful return
case, as a task may not be
terminated immediately.
4098 Use of Timeout Parameter Not
Supported
If TimeoutPeriod parameter is not
NULL.
Table 5-47. Return Values for GetError()Operation
ValueMap Values Explanation/Notes
0 Success
5 Invalid Parameter