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

Return Codes
OSI/MHS P7 Application Programmatic Interface (P7 API) Manual424825-001
B-3
Return Code Values
Recovery. Try the procedure again with the correct file number. An invalid file
number could indicate a problem with the storage of the file numbers. If you think you
have the correct file number and still receive this error, check the code in your program.
107 ZMHS_VAL_EM_FILE_ERROR
Cause. The P7 API encountered a file system error during a call to the LOS_OPEN_
procedure. The subcode contains the file system error number returned by the Guardian
OPEN or SETMODE procedure.
Effect. The procedure is not performed.
Recovery. See the Guardian Procedure Errors and Messages Manual for a description
of the error number given in the subcode. Follow the recommended procedure for
recovery given in that manual.
108 ZMHS_VAL_EM_INTERNAL_ERROR
Cause. The P7 API encountered a failure in an internal consistency check. The subcode
contains the value returned by the Guardian USESEGMENT procedure. This procedure
was called by the P7 API routine that returned this error.
Effect. The procedure is not performed.
Recovery. See the Guardian Procedure Calls Reference Manual for a description of the
error number given in the subcode. Report the return code and subcode error values to
your Compaq representative.
109 ZMHS_VAL_EM_SPI_ERR
Cause. An internal SPI syntax error occurred. The problem could be an internal
software error in OSI/MHS or corrupted data buffers used by the P7 API or other parts
of the OSI/MHS subsystem. The subcode contains the value returned by one of the
following SPI procedures: SSGET, SSPUTTKN, SSINIT, or SSGETTKN. These
procedures are called by the P7 API routine that returned this error.
Effect. The procedure is not performed.
Recovery. If you receive this error, you can do the following:
Check that the client application is not misusing the data buffers supplied to the
P7 API. If the application is misusing the buffers, you need to change the code in
the client application.
Make sure that the version on the P7PILIB file is the same as that of the MHS
manager.
If the client application is using the buffers correctly and the files are of the same
version, you should contact your Compaq representative; the problem might be an
internal software error.