OSI/MHS P7 Application Programmatic Interface (P7 API) Manual

Return Codes
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
B-6
Return Code Values
Recovery. See the Guardian Procedure Errors and Messages Manual for a description
of the error given in the subcode. Follow the recovery procedure recommended in that
manual. One possible cause might be that the selected LO group is not in the STARTED
state. If the group is STOPPED, call LOS_CLOSE_ to terminate the session, then use
LOS_OPEN_ to open a session with another group and try the operation again.
202 ZMHS_VAL_DT_WRITEREAD_FAILED
Cause. Data could not be sent to or from OSI/MHS during a call to the
LOS_DT_SEND_ , LOS_DT_FINISH_SEND_ , or LOS_DT_FINISH_RESULT_
procedure. The subcode contains the file error number.
Effect. The procedure is not performed.
Recovery. See the Guardian Procedure Calls Reference Manual for a description of
file error numbers. Follow the recovery procedure recommended in that manual. One
possible cause might be that the selected LO group is not in the STARTED state. If the
selected LO group is STOPPED, call LOS_CLOSE_ to terminate the session, then use
LOS_OPEN_ to open a session with another group and try the operation again.
203 ZMHS_VAL_DT_INVAL_DATA_CODE
Cause. You specified an invalid data type for the dataType parameter of the
LOS_DT_SEND_ or LOS_DT_FINISH_RESULT_ procedure. The subcode contains
the value of the data type that you specified. See the ZMHSC or ZMHSTAL file for a
list of the correct values.
Effect. The procedure is not performed.
Recovery. For LOS_DT_SEND_ , specify one of the following values as appropriate:
ZMHS-VAL-DT-MS-BIND-ARG
ZMHS-VAL-DT-MS-UNBIND-ARG
ZMHS-VAL-DT-P-DATA
For LOS_DT_FINISH_RESULT_ , specify one of the following values as appropriate:
ZMHS-VAL-DT-MS-BIND-RESULT
ZMHS-VAL-DT-MS-BIND-ERROR
ZMHS-VAL-DT-MS-UNBIND-RESULT
ZMHS-VAL-DT-P-DATA
204 ZMHS_VAL_DT_INVAL_BUFFER_LEN
Cause. You specified a value outside the range of 1 through 30000 bytes for the
bufferLen parameter of an LOS_DT_SEND_ or LOS_DT_FINISH_RESULT_
procedure. The subcode contains the value that you specified for the bufferLen
parameter.
Effect. The procedure is not performed.