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

Return Codes
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
B-2
Return Code Values
0 <no constant assigned>
Cause. The operation was successfully completed.
Effect. The application can proceed with the next step.
Recovery. None is required.
103 ZMHS_VAL_EM_INVALID_WAIT_FLAG
Cause. You specified a value other than ZMHS-VAL-EM-NO-WAIT for the
waitFlag parameter of the LOS_OPEN_ procedure. The P7 API accepts only the
NO-WAIT value. The subcode contains the value of the wait flag that you specified.
Effect. The procedure is not performed.
Recovery. Call LOS_OPEN_ again with the waitFlag parameter set to
ZMHS-VAL-EM-NO-WAIT.
104 ZMHS_VAL_EM_LOS_BUSY
Cause. The client application already has 20 open sessions with the LO groups in the
local OSI/MHS subsystem. You cannot start a new session until you end one of the
current sessions or start a new client application. The subcode has no meaning for this
error.
Effect. The procedure is not performed.
Recovery. Call LOS_CLOSE_ for any session that has completed its data transfer
before attempting to start another session. Additionally, you might start another client
application.
105 ZMHS_VAL_EM_INVAL_SEND_FILENUM
Cause. The value that you specified for the send file number in a LOS_DT_SEND_ ,
LOS_DT_FINISH_SEND_ , or LOS_CLOSE_ procedure does not match the values of
any of the currently open send files. The subcode contains the file number of the send
file that you specified.
Effect. The procedure is not performed.
Recovery. Try the procedure again with the correct file number. An invalid file
number might indicate a problem with the storage of the file numbers in the client
application.
106 ZMHS_VAL_EM_INVALID_RES_FILENUM
Cause. The value that you specified for the result file number in a
LOS_DT_FINISH_RESULT_ or LOS_CLOSE_ procedure does not match the values of
any of the currently open result files. The subcode contains the file number of the result
file that you specified.
Effect. The procedure is not performed.