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

Return Codes
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
B-7
Return Code Values
Recovery. Change the value to a number between 1 and 30000 bytes. 30000 bytes is
the maximum length that you can specify for the buffer.
205 ZMHS_VAL_DT_INVAL_MORE_DATA
Cause. The value that you specified for the moreData parameter of the
LOS_DT_SEND_ or the LOS_DT_FINISH_RESULT_ procedure was incorrect. The
subcode contains the parameter value that you specified.
Effect. The procedure is not performed.
Recovery. Specify either ZMHS-VAL-DT-MORE-DATA, if there is more than one
buffer of data to be sent, or ZMHS-VAL-DT-NO-MORE-DATA, if this is the last buffer
of data to be sent for this message transmission.
206 ZMHS_VAL_DT_ASSOC_ABORTED
Cause. The application association with the LO group to which you were trying to
transfer data has been aborted. This error could be due to the failure of either an LO or
MS process. The subcode has no meaning for this error.
Effect. You cannot transfer data with the LO group until you establish a new
application association.
Recovery. Use LOS_CLOSE_ to close the session, followed by LOS_OPEN_ to
reestablish the session, then LOS_DT_SEND_ to bind to an LO group. Also, check the
status of all LO and MS processes and restart any that are in the STOPPED state.
207 ZMHS_VAL_DT_INVAL_BUFFER
Cause. The P7 API cannot find the application association identifier specified in the
buffer. The subcode contains the value of the application association identifier that
can’t be found.
Effect. The procedure is not performed.
Recovery. Use LOS_CLOSE_ to free the buffers, followed by LOS_OPEN_ to
establish a session, then LOS_DT_SEND_ to bind to a new LO group.
210 ZMHS_VAL_DT_SEND_OUTSTANDING
Cause. You tried to call LOS_DT_SEND_ without waiting for completion on the
previous LOS_DT_SEND_ call.
Effect. The procedure is not performed.
Recovery. Call AWAITIOX, followed by LOS_DT_FINISH_SEND_ , before calling
LOS_DT_SEND_ again. Additionally, you could set up a queuing function to enable
you to send data before receiving the completion on the send file.